From 27b3086c64059532f7a953458c60e85d8a1c239a Mon Sep 17 00:00:00 2001 From: avsm Date: Sun, 22 Apr 2001 22:57:27 +0000 Subject: [PATCH] fix build on powerpc, naddy@ ok --- audio/ac3dec/patches/patch-configure | 12 ++++++++++++ audio/ac3dec/patches/patch-configure_in | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 audio/ac3dec/patches/patch-configure create mode 100644 audio/ac3dec/patches/patch-configure_in diff --git a/audio/ac3dec/patches/patch-configure b/audio/ac3dec/patches/patch-configure new file mode 100644 index 00000000000..f8d0e976569 --- /dev/null +++ b/audio/ac3dec/patches/patch-configure @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure,v 1.1 2001/04/22 22:57:27 avsm Exp $ +--- configure.orig Wed Mar 29 17:51:49 2000 ++++ configure Sun Apr 22 23:49:49 2001 +@@ -1273,7 +1273,7 @@ sparc-*) cat >> confdefs.h <<\EOF + #define __sparc__ 1 + EOF + ;; +-ppc-*) cat >> confdefs.h <<\EOF ++ppc-*|powerpc-*) cat >> confdefs.h <<\EOF + #define __ppc__ 1 + EOF + ;; diff --git a/audio/ac3dec/patches/patch-configure_in b/audio/ac3dec/patches/patch-configure_in new file mode 100644 index 00000000000..01579930940 --- /dev/null +++ b/audio/ac3dec/patches/patch-configure_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-configure_in,v 1.1 2001/04/22 22:57:27 avsm Exp $ +--- configure.in.orig Wed Mar 29 17:51:24 2000 ++++ configure.in Sun Apr 22 23:49:45 2001 +@@ -29,7 +29,7 @@ case "$host" in + i?86-*) AC_DEFINE(__i386__);; + alpha*-*) AC_DEFINE(__alpha__);; + sparc-*) AC_DEFINE(__sparc__);; +-ppc-*) AC_DEFINE(__ppc__);; ++ppc-*|powerpc-*) AC_DEFINE(__ppc__);; + *) echo "$host is not currently supported by ac3dec"; exit 1;; + esac +