summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2000-05-09 14:04:28 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2000-05-09 14:04:28 +0000
commitf24e1227c98affb56a693c52175492cc4bbbc922 (patch)
tree212855c40d82dc9163d39200620cce70829c0cba /audio
parent6642be2b547c8827defb04fbfa1207d2103e5e5f (diff)
downloadpkgsrc-f24e1227c98affb56a693c52175492cc4bbbc922.tar.gz
fix build for mips. The bug was some bogus configure checks for processor
type (the output of which were never used anyway).
Diffstat (limited to 'audio')
-rw-r--r--audio/ac3dec/files/patch-sum5
-rw-r--r--audio/ac3dec/patches/patch-aa30
2 files changed, 28 insertions, 7 deletions
diff --git a/audio/ac3dec/files/patch-sum b/audio/ac3dec/files/patch-sum
index e6f9d8ea102..71ada548128 100644
--- a/audio/ac3dec/files/patch-sum
+++ b/audio/ac3dec/files/patch-sum
@@ -1,4 +1,5 @@
-$NetBSD: patch-sum,v 1.2 2000/04/06 15:42:42 wiz Exp $
+$NetBSD: patch-sum,v 1.3 2000/05/09 14:04:28 dmcmahill Exp $
-MD5 (patch-aa) = 81c61768c7ac13a856079a1cc99ce71b
+MD5 (patch-aa) = f472e1fe1da3dbb6f8b1d293ef0eb42c
MD5 (patch-ab) = 8c475b6221cd65061b798e2e7ab58ca1
+MD5 (patch-ac) = 29a9e96a8f6b2d1030d1ea053ccdc9d7
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