fix ptlib build

This commit is contained in:
Weng Xuetian 2016-01-20 18:23:19 +00:00
parent cb69ee965d
commit 7b7a0f4d12
2 changed files with 12 additions and 1 deletions

View File

@ -32,7 +32,7 @@ build() {
--localstatedir=/var \
--prefix=/usr \
--sysconfdir=/etc
make
make -j1
}
package() {

11
toolame/fix.patch Normal file
View File

@ -0,0 +1,11 @@
--- bitstream.h.orig 2016-01-20 16:26:24.889999999 +0000
+++ bitstream.h 2016-01-20 16:41:09.473333332 +0000
@@ -9,7 +9,7 @@
void put1bit (Bit_stream_struc *, int);
unsigned long look_ahead (Bit_stream_struc *, int);
unsigned long getbits (Bit_stream_struc *, int);
-INLINE void putbits (Bit_stream_struc *, unsigned int, int);
+void putbits (Bit_stream_struc *, unsigned int, int);
void byte_ali_putbits (Bit_stream_struc *, unsigned int, int);
unsigned long byte_ali_getbits (Bit_stream_struc *, int);
unsigned long sstell (Bit_stream_struc *);