[kde-freebsd] audio/akode-plugins-xiph: speex fix
Christian Weisgerber
naddy at freebsd.org
Tue May 8 15:26:25 CEST 2007
Note: I don't use akode and I'm not subscribed to kde@
The changes below should make akode-plugins-xiph actually support
the speex codec again. I suspect this was accidentally lost with
an audio/speex update.
Okay?
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/akode-plugins-xiph/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile 13 Mar 2007 19:10:11 -0000 1.16
+++ Makefile 8 May 2007 13:21:03 -0000
@@ -7,6 +7,7 @@
PORTNAME= akode-plugins-${PORTNAMESUFX}
PORTVERSION= 2.0.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= audio kde
MASTER_SITES= ${MASTER_SITE_GENTOO}
Index: files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp
===================================================================
RCS file: files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp
diff -N files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-akode_plugins_xiph__decoder_speex__decoder.cpp 8 May 2007 13:21:03 -0000
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- akode/plugins/xiph_decoder/speex_decoder.cpp.orig
++++ akode/plugins/xiph_decoder/speex_decoder.cpp
+@@ -25,10 +25,10 @@
+ extern "C" {
+ #include <string.h>
+ #include <stdlib.h>
+-#include <speex.h>
+-#include <speex_header.h>
+-#include <speex_callbacks.h>
+-#include <speex_stereo.h>
++#include <speex/speex.h>
++#include <speex/speex_header.h>
++#include <speex/speex_callbacks.h>
++#include <speex/speex_stereo.h>
+ #include <ogg/ogg.h>
+ }
+
Index: files/patch-configure
===================================================================
RCS file: files/patch-configure
diff -N files/patch-configure
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-configure 8 May 2007 13:21:03 -0000
@@ -0,0 +1,31 @@
+
+$FreeBSD$
+
+--- configure.orig
++++ configure
+@@ -22200,8 +22200,8 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+- #include <speex.h>
+- #include <speex_callbacks.h>
++ #include <speex/speex.h>
++ #include <speex/speex_callbacks.h>
+ #include <ogg/ogg.h>
+
+ int
+@@ -22350,10 +22350,10 @@
+ cat >>conftest.$ac_ext <<_ACEOF
+ /* end confdefs.h. */
+
+- #include <speex.h>
+- #include <speex_callbacks.h>
+- #include <speex_echo.h>
+- #include <speex_preprocess.h>
++ #include <speex/speex.h>
++ #include <speex/speex_callbacks.h>
++ #include <speex/speex_echo.h>
++ #include <speex/speex_preprocess.h>
+ #include <ogg/ogg.h>
+
+ int
--
Christian "naddy" Weisgerber naddy at mips.inka.de
More information about the kde-freebsd
mailing list