summaryrefslogtreecommitdiffstats
path: root/audio/xmms-speex/files
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2003-08-20 20:20:42 +0000
committernaddy <naddy@FreeBSD.org>2003-08-20 20:20:42 +0000
commit5697e6d8be152fd0441a6cadc13c2d5ef2d68a7f (patch)
tree3ccf51dc6e4715f8e60d2c451c08601a125ebc11 /audio/xmms-speex/files
parentedc091d78195ef339a298caa33d28c12f9bc1b87 (diff)
downloadFreeBSD-ports-5697e6d8be152fd0441a6cadc13c2d5ef2d68a7f.zip
FreeBSD-ports-5697e6d8be152fd0441a6cadc13c2d5ef2d68a7f.tar.gz
Update to 0.9.1, unbreak.
Submitted by: Volker Stolz <vs@foldr.org> Revamped by yours truly. Closes PR: 53239 Approved by: (maintainer timeout)
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 0000000..056a63e
--- /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 6bfc4c4..0000000
--- 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++) {
OpenPOWER on IntegriCloud