diff options
author | agc <agc> | 2005-03-07 10:34:07 +0000 |
---|---|---|
committer | agc <agc> | 2005-03-07 10:34:07 +0000 |
commit | 41f9d882630382f160d9ac939b85a39ddbed6ecc (patch) | |
tree | 2e52b810e2f1a60ee73ae8846efc753dd0b43854 /audio/festival/patches | |
parent | f673f9cfd56a47c27ec256d40bc5b352bd142f16 (diff) | |
download | pkgsrc-41f9d882630382f160d9ac939b85a39ddbed6ecc.tar.gz |
Try to make this package build on all NetBSD platforms; patches from
Eric Schnoebelen in PR 28821, with some modifications by myself (for
configuration purposes).
Tested by myself on NetBSD/i386, and on NetBSD/amd64 by Quentin Garnier.
Diffstat (limited to 'audio/festival/patches')
-rw-r--r-- | audio/festival/patches/patch-aa | 22 | ||||
-rw-r--r-- | audio/festival/patches/patch-ab | 22 |
2 files changed, 44 insertions, 0 deletions
diff --git a/audio/festival/patches/patch-aa b/audio/festival/patches/patch-aa new file mode 100644 index 00000000000..816cde32fe3 --- /dev/null +++ b/audio/festival/patches/patch-aa @@ -0,0 +1,22 @@ +$NetBSD: patch-aa,v 1.4 2005/03/07 10:35:44 agc Exp $ + +--- speech_tools/config/system.sh 2005/01/10 09:00:19 1.1 ++++ speech_tools/config/system.sh 2005/01/10 09:02:26 +@@ -46,7 +46,7 @@ + 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 @@ + ` + + # 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 diff --git a/audio/festival/patches/patch-ab b/audio/festival/patches/patch-ab new file mode 100644 index 00000000000..ac0d080b1a1 --- /dev/null +++ b/audio/festival/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.4 2005/03/07 10:35:44 agc Exp $ + +--- festival/config/system.sh 2005/01/10 09:08:39 1.1 ++++ festival/config/system.sh 2005/01/10 09:08:58 +@@ -46,7 +46,7 @@ + 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 @@ + ` + + # 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 |