summaryrefslogtreecommitdiff
path: root/audio/tremor-tools/patches/patch-ae
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tremor-tools/patches/patch-ae')
-rw-r--r--audio/tremor-tools/patches/patch-ae36
1 files changed, 36 insertions, 0 deletions
diff --git a/audio/tremor-tools/patches/patch-ae b/audio/tremor-tools/patches/patch-ae
new file mode 100644
index 00000000000..02836ac29a1
--- /dev/null
+++ b/audio/tremor-tools/patches/patch-ae
@@ -0,0 +1,36 @@
+$NetBSD: patch-ae,v 1.1.1.1 2002/09/24 09:35:17 chris Exp $
+
+--- aclocal.m4.orig Fri Jul 19 15:18:51 2002
++++ aclocal.m4 Sat Sep 14 18:28:40 2002
+@@ -139,6 +139,7 @@
+ fi
+
+ VORBISFILE_LIBS="$VORBIS_LIBS -lvorbisfile"
++ IVORBISFILE_LIBS="$VORBIS_LIBS -lvorbisidec"
+ VORBISENC_LIBS="$VORBIS_LIBS -lvorbisenc"
+ VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
+
+@@ -194,7 +195,7 @@
+ LIBS="$LIBS $VORBIS_LIBS $OGG_LIBS"
+ AC_TRY_LINK([
+ #include <stdio.h>
+-#include <vorbis/codec.h>
++#include <tremor/ivorbiscodec.h>
+ ], [ return 0; ],
+ [ echo "*** The test program compiled, but did not run. This usually means"
+ echo "*** that the run-time linker is not finding Vorbis or finding the wrong"
+@@ -214,12 +215,14 @@
+ VORBIS_CFLAGS=""
+ VORBIS_LIBS=""
+ VORBISFILE_LIBS=""
++ IVORBISFILE_LIBS=""
+ VORBISENC_LIBS=""
+ ifelse([$2], , :, [$2])
+ fi
+ AC_SUBST(VORBIS_CFLAGS)
+ AC_SUBST(VORBIS_LIBS)
+ AC_SUBST(VORBISFILE_LIBS)
++ AC_SUBST(IVORBISFILE_LIBS)
+ AC_SUBST(VORBISENC_LIBS)
+ rm -f conf.vorbistest
+ ])