summaryrefslogtreecommitdiff
path: root/audio/libac3/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libac3/patches/patch-aa')
-rw-r--r--audio/libac3/patches/patch-aa33
1 files changed, 33 insertions, 0 deletions
diff --git a/audio/libac3/patches/patch-aa b/audio/libac3/patches/patch-aa
new file mode 100644
index 00000000000..59a27b68739
--- /dev/null
+++ b/audio/libac3/patches/patch-aa
@@ -0,0 +1,33 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:49:47 rh Exp $
+
+--- configure.orig Wed Mar 29 19:51:49 2000
++++ configure Tue May 9 09:32:16 2000
+@@ -1255,27 +1255,7 @@
+ case "$host" in
+ *-linux*) rm -f output.c; ln -s output_linux.c output.c;;
+-*-openbsd*|*-freebsd*) rm -f output.c; ln -s output_linux.c output.c;;
++*-openbsd*|*-freebsd*|*-netbsd*) rm -f output.c; ln -s output_linux.c output.c;;
+ *-irix*) rm -f output.c; ln -s output_irix.c output.c;;
+ *-solaris*) rm -f output.c; ln -s output_solaris.c output.c;;
+-*) echo "$host is not currently supported by ac3dec"; exit 1;;
+-esac
+-
+-case "$host" in
+-i?86-*) cat >> confdefs.h <<\EOF
+-#define __i386__ 1
+-EOF
+-;;
+-alpha*-*) cat >> confdefs.h <<\EOF
+-#define __alpha__ 1
+-EOF
+-;;
+-sparc-*) cat >> confdefs.h <<\EOF
+-#define __sparc__ 1
+-EOF
+-;;
+-ppc-*) cat >> confdefs.h <<\EOF
+-#define __ppc__ 1
+-EOF
+-;;
+ *) echo "$host is not currently supported by ac3dec"; exit 1;;
+ esac