summaryrefslogtreecommitdiff
path: root/math/cloog/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-02-20 21:37:13 +0000
committerwiz <wiz@pkgsrc.org>2013-02-20 21:37:13 +0000
commit511520f67e8b5943121e6fb76f2367862d9de5ab (patch)
tree366978b6fbc6b0795f4ba956657097a46d5f885b /math/cloog/patches
parent286d9c8ade483ab138ca8d38f499fc04c2a38aaf (diff)
downloadpkgsrc-511520f67e8b5943121e6fb76f2367862d9de5ab.tar.gz
Fix cut(1) arguments so that all tests work fine. From Kai-Uwe Eckhardt.
Diffstat (limited to 'math/cloog/patches')
-rw-r--r--math/cloog/patches/patch-test_checker.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/cloog/patches/patch-test_checker.sh b/math/cloog/patches/patch-test_checker.sh
new file mode 100644
index 00000000000..0b92ab50c69
--- /dev/null
+++ b/math/cloog/patches/patch-test_checker.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-test_checker.sh,v 1.1 2013/02/20 21:37:13 wiz Exp $
+
+Remove Linuxism in cut(1) call.
+
+--- test/checker.sh.orig 2012-12-20 17:22:01.000000000 +0000
++++ test/checker.sh
+@@ -67,7 +67,7 @@ echo " * Testing CLoo
+ echo " *-----------------------------------------------*/"
+ for x in $TEST_FILES; do
+ name=`echo $x | sed 's/%/ /g' | cut -d\ -f1`;
+- individual_options=`echo $x | sed 's/%/ /g' | cut -s -d\ -f2-`;
++ individual_options=`echo $x | sed 's/%/ /g' | cut -s -d\ -f2`;
+ input="$srcdir/$name.$TEST_INPUT_EXTENSION";
+ output="$srcdir/$name.$TEST_OUTPUT_EXTENSION";
+ options="$individual_options $TEST_GLOBAL_OPTIONS";