aboutsummaryrefslogtreecommitdiff
path: root/audio/xmms-speex/files
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-08-20 20:20:42 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-08-20 20:20:42 +0000
commit12f3389dd0aff5a990f2c44b636b8c46bc28f3f6 (patch)
treea0faa6f874ca1e39aa3529989c2b2583479feb68 /audio/xmms-speex/files
parenta5e671d466d77f8bcea1e68727af3a244677898f (diff)
Notes
Diffstat (limited to 'audio/xmms-speex/files')
-rw-r--r--audio/xmms-speex/files/patch-Makefile14
-rw-r--r--audio/xmms-speex/files/patch-libspeex.c20
2 files changed, 14 insertions, 20 deletions
diff --git a/audio/xmms-speex/files/patch-Makefile b/audio/xmms-speex/files/patch-Makefile
new file mode 100644
index 000000000000..056a63e7edb1
--- /dev/null
+++ b/audio/xmms-speex/files/patch-Makefile
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.orig Sun Aug 3 18:18:42 2003
++++ Makefile Thu Aug 14 18:08:45 2003
+@@ -14,7 +14,7 @@
+ $(MAKE) -C $(@D) all
+
+ libspeex.so: libspeex.c libspeex.h $(OBJS) $(GUIOBJS)
+- $(CC) -shared -logg -lspeex -lgtk -lpthread -lxmms $(INCDIRS) $(CFLAGS) -DVERSION=$(VERSION) -DPACKAGE=\"libspeex\" -o libspeex.so libspeex.c $(OBJS) $(GUIOBJS)
++ $(CC) -shared $(INCDIRS) $(CFLAGS) -DVERSION=$(VERSION) -DPACKAGE=\"libspeex\" -o libspeex.so libspeex.c $(OBJS) $(GUIOBJS) `xmms-config --libs` -logg -lspeex
+
+ #utf8.o: utf8.c utf8.h
+ # $(CC) -c $(INCDIRS) $(CFLAGS) -DHAVE_ICONV -DICONV_CONST= -o utf8.o utf8.c
diff --git a/audio/xmms-speex/files/patch-libspeex.c b/audio/xmms-speex/files/patch-libspeex.c
deleted file mode 100644
index 6bfc4c4e7ccf..000000000000
--- a/audio/xmms-speex/files/patch-libspeex.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- libspeex.c.orig Sat Sep 21 13:18:53 2002
-+++ libspeex.c Sat Sep 21 13:23:14 2002
-@@ -385,7 +385,7 @@
- #endif
-
- speex_bits_rewind(&sbits);
-- speex_decode(spx_decoder, &sbits, outbuff, 1);
-+ speex_decode(spx_decoder, &sbits, outbuff);
-
- // Converting and clipping check
- for (i = 0; i < speex_fs->framesize; i++) {
-@@ -455,7 +455,7 @@
- // For multiple frames within packets
- for (j=0; j < speex_fs->nframes; j++)
- {
-- speex_decode(spx_decoder, &sbits, outbuff, 0);
-+ speex_decode(spx_decoder, &sbits, outbuff);
-
- // Converting and clipping check
- for (i = 0; i < speex_fs->framesize; i++) {