From ea9288c57f4f9b75b451b95ceb3b0469a020ce11 Mon Sep 17 00:00:00 2001 From: pvalchev Date: Sun, 22 Jun 2003 18:34:38 +0000 Subject: [PATCH] vax support, that's right ;> --- audio/ac3dec/patches/patch-configure | 22 ++++++++++++++++++---- audio/ac3dec/patches/patch-configure_in | 9 +++++---- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/audio/ac3dec/patches/patch-configure b/audio/ac3dec/patches/patch-configure index 270ae66edab..090f293af32 100644 --- a/audio/ac3dec/patches/patch-configure +++ b/audio/ac3dec/patches/patch-configure @@ -1,7 +1,16 @@ -$OpenBSD: patch-configure,v 1.2 2002/04/09 19:50:14 naddy Exp $ ---- configure.orig Thu Mar 30 02:51:49 2000 -+++ configure Tue Apr 9 21:35:14 2002 -@@ -1273,7 +1273,11 @@ sparc-*) cat >> confdefs.h <<\EOF +$OpenBSD: patch-configure,v 1.3 2003/06/22 18:34:38 pvalchev Exp $ +--- configure.orig Wed Mar 29 17:51:49 2000 ++++ configure Fri Jun 13 00:50:14 2003 +@@ -528,7 +528,7 @@ fi + + + ac_aux_dir= +-for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do ++for ac_dir in ${GNUSYSTEM_AUX_DIR} $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" +@@ -1273,8 +1273,16 @@ sparc-*) cat >> confdefs.h <<\EOF #define __sparc__ 1 EOF ;; @@ -12,5 +21,10 @@ $OpenBSD: patch-configure,v 1.2 2002/04/09 19:50:14 naddy Exp $ +;; +ppc-*|powerpc-*) cat >> confdefs.h <<\EOF #define __ppc__ 1 ++EOF ++;; ++vax-*) cat >> confdefs.h <<\EOF ++#define __vax__ 1 EOF ;; + *) echo "$host is not currently supported by ac3dec"; exit 1;; diff --git a/audio/ac3dec/patches/patch-configure_in b/audio/ac3dec/patches/patch-configure_in index 25aa61c5b5d..50d73e59fd6 100644 --- a/audio/ac3dec/patches/patch-configure_in +++ b/audio/ac3dec/patches/patch-configure_in @@ -1,13 +1,14 @@ -$OpenBSD: patch-configure_in,v 1.2 2002/04/09 19:50:14 naddy Exp $ ---- configure.in.orig Thu Mar 30 02:51:24 2000 -+++ configure.in Tue Apr 9 21:34:48 2002 -@@ -29,7 +29,8 @@ case "$host" in +$OpenBSD: patch-configure_in,v 1.3 2003/06/22 18:34:38 pvalchev Exp $ +--- configure.in.orig Wed Mar 29 17:51:24 2000 ++++ configure.in Fri Jun 13 00:48:58 2003 +@@ -29,7 +29,9 @@ case "$host" in i?86-*) AC_DEFINE(__i386__);; alpha*-*) AC_DEFINE(__alpha__);; sparc-*) AC_DEFINE(__sparc__);; -ppc-*) AC_DEFINE(__ppc__);; +sparc64-*) AC_DEFINE(__sparc64__);; +ppc-*|powerpc-*) AC_DEFINE(__ppc__);; ++vax-*) AC_DEFINE(__vax__);; *) echo "$host is not currently supported by ac3dec"; exit 1;; esac