Commit fac890f0 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

* Some work for BeOS Contrib's should repair some of'em

parent 935598e0
......@@ -698,7 +698,12 @@ libtheora: libtheora-$(THEORA_VERSION).tar.bz2
(cd $@; autoconf)
.theora: libtheora .ogg
ifdef HAVE_BEOS
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-sdltest --disable-oggtest --disable-vorbistest --disable-asm && make && make install)
else
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-sdltest --disable-oggtest --disable-vorbistest && make && make install)
endif
$(INSTALL_NAME)
touch $@
......@@ -772,6 +777,9 @@ speex-$(SPEEX_VERSION).tar.gz:
speex: speex-$(SPEEX_VERSION).tar.gz
$(EXTRACT_GZ)
patch -p0 < Patches/speex.patch
ifdef HAVE_BEOS
patch -p0 < Patches/speex-BeOS.patch
endif
.speex: speex
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --enable-ogg=no && make && make install)
......@@ -1428,6 +1436,9 @@ twolame-$(TWOLAME_VERSION).tar.gz:
twolame: twolame-$(TWOLAME_VERSION).tar.gz
$(EXTRACT_GZ)
ifdef HAVE_BEOS
patch -p 0 < Patches/twolame-BeOS.patch
endif
.twolame: twolame
(cd twolame; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
......
diff -ruN speex/libspeex/testecho.c speex-2/libspeex/testecho.c
--- speex/libspeex/testecho.c 2006-02-11 22:39:51.000000000 +0000
+++ speex-2/libspeex/testecho.c 2006-08-01 12:00:22.000000000 +0000
@@ -22,6 +22,7 @@
short echo_buf[NN], ref_buf[NN], e_buf[NN];
SpeexEchoState *st;
SpeexPreprocessState *den;
+ int tmp = 8000;
if (argc != 4)
{
@@ -34,7 +35,6 @@
st = speex_echo_state_init(NN, TAIL);
den = speex_preprocess_state_init(NN, 8000);
- int tmp = 8000;
speex_echo_ctl(st, SPEEX_ECHO_SET_SAMPLING_RATE, &tmp);
while (read(ref_fd, ref_buf, NN*2))
diff -ruN twolame/configure twolame-2/configure
--- twolame/configure 2006-07-03 18:50:30.000000000 +0000
+++ twolame/configure 2006-08-01 11:47:41.000000000 +0000
@@ -21068,7 +21068,7 @@
-CFLAGS="$CFLAGS -std=c99 -Wunused -Wall"
+CFLAGS="$CFLAGS -Wunused -Wall"
LDFLAGS="$LDFLAGS"
# If debugging is enabled then make warnings errors
diff -ruN twolame/configure.ac twolame-2/configure.ac
--- twolame/configure.ac 2006-07-03 18:50:04.000000000 +0000
+++ twolame/configure.ac 2006-08-01 11:47:32.000000000 +0000
@@ -113,7 +113,7 @@
dnl ############## Compiler and Linker Flags
-CFLAGS="$CFLAGS -std=c99 -Wunused -Wall"
+CFLAGS="$CFLAGS -Wunused -Wall"
LDFLAGS="$LDFLAGS"
# If debugging is enabled then make warnings errors
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment