summaryrefslogtreecommitdiff
path: root/audio/ac3dec/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ac3dec/patches/patch-aa')
-rw-r--r--audio/ac3dec/patches/patch-aa30
1 files changed, 25 insertions, 5 deletions
diff --git a/audio/ac3dec/patches/patch-aa b/audio/ac3dec/patches/patch-aa
index 8e277db66d8..60f074f095d 100644
--- a/audio/ac3dec/patches/patch-aa
+++ b/audio/ac3dec/patches/patch-aa
@@ -1,13 +1,33 @@
-$NetBSD: patch-aa,v 1.2 2000/04/06 15:42:42 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2000/05/09 14:04:29 dmcmahill Exp $
---- configure.orig Thu Mar 30 02:51:49 2000
-+++ configure Thu Apr 6 17:28:05 2000
-@@ -1254,7 +1254,7 @@
-
+--- 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