pkgsrc/audio/festival/patches/patch-aa
marino 3b88cabf90 audio/festival: Update to version 2.1-release
The previous version of festival, 1.95-beta, was extremely picky about
the compiler.  When DragonFly moved to gcc 4.4 as the default, this
package would no longer build because it didn't share the pre-requisite
gcc 3.3.6 with NetBSD.

The latest version will accept any version of gcc (tested by developers
to version 4.5).  Upgrading the package has the double benefit of once
again building on DragonFly and removing the requirement to build
gcc 3.3.6 on NetBSD.
2011-11-21 01:35:29 +00:00

22 lines
836 B
Text

$NetBSD: patch-aa,v 1.5 2011/11/21 01:35:29 marino Exp $
--- speech_tools/config/system.sh.orig 2002-12-27 18:39:26.000000000 +0000
+++ speech_tools/config/system.sh
@@ -46,7 +46,7 @@ OSTYPE=`uname -s |
sed -e '/^\([^_]*\).*/s//\1/' -e '/\//s///g'`
# CPU, downcased, /s and some uninteresting details eliminated
-MACHINETYPE=`{ mach || uname -m || echo unknown ; } 2>/dev/null |
+MACHINETYPE=`{ echo unknown ; } 2>/dev/null |
tr ABCDEFGHIJKLMNOPQRSTUVWXYZ/ abcdefghijklmnopqrstuvwxyz_ |
sed -e 's/i[0-9]86/ix86/' \
-e 's/sun4/sparc/' \
@@ -56,7 +56,7 @@ MACHINETYPE=`{ mach || uname -m || echo
`
# OR revision, only take first two numbers.
-OSREV=`{ uname -r || echo ""; } 2> /dev/null |
+OSREV=`{ echo ""; } 2> /dev/null |
sed -e 's/^\([^.]*\)\(\.[^-. ]*\).*/\1\2/'`
# Sort out various flavours of Linux