summaryrefslogtreecommitdiff
path: root/textproc/gsed/patches
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2003-10-07 23:27:06 +0000
committerheinz <heinz@pkgsrc.org>2003-10-07 23:27:06 +0000
commit841f620501b893b50bb94f0126fd8d818d61efbc (patch)
tree46d7cfc77d4a8f78745704c52febca4082c4f831 /textproc/gsed/patches
parent4cae285ce53b94f5f8253cb9e69247b5b75c3a7c (diff)
downloadpkgsrc-841f620501b893b50bb94f0126fd8d818d61efbc.tar.gz
Add TEST_TARGET and fix tests on Solaris
Diffstat (limited to 'textproc/gsed/patches')
-rw-r--r--textproc/gsed/patches/patch-ac25
-rw-r--r--textproc/gsed/patches/patch-ad10
2 files changed, 35 insertions, 0 deletions
diff --git a/textproc/gsed/patches/patch-ac b/textproc/gsed/patches/patch-ac
new file mode 100644
index 00000000000..cea4da10ea6
--- /dev/null
+++ b/textproc/gsed/patches/patch-ac
@@ -0,0 +1,25 @@
+$NetBSD: patch-ac,v 1.1 2003/10/07 23:27:06 heinz Exp $
+
+--- testsuite/Makefile.tests.orig 2003-03-25 18:02:01.000000000 +0100
++++ testsuite/Makefile.tests
+@@ -37,9 +37,9 @@ subwrite::
+ @$(RM) $@.1out $@.wout
+
+ spencer::
+- sh $(srcdir)/$@.sh '$(SED)' < $(srcdir)/$@.inp \
++ sh -c 'sh $(srcdir)/$@.sh "$(SED)" < $(srcdir)/$@.inp \
+ | $(TIME) sh | grep failed; \
+- test $$? = 1
++ test $$? = 1'
+
+ writeout::
+ $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp >$@.1out
+@@ -56,7 +56,7 @@ readin:: readin.in2
+ @$(RM) $@.out
+
+ eval.in2: $(srcdir)/eval.inp
+- cat $< > $@
++ cat $? > $@
+
+ eval:: eval.in2
+ $(TIME) $(SED) -f $(srcdir)/$@.sed < $(srcdir)/$@.inp > $@.out
diff --git a/textproc/gsed/patches/patch-ad b/textproc/gsed/patches/patch-ad
new file mode 100644
index 00000000000..98ea476e2f4
--- /dev/null
+++ b/textproc/gsed/patches/patch-ad
@@ -0,0 +1,10 @@
+$NetBSD: patch-ad,v 1.1 2003/10/07 23:27:06 heinz Exp $
+
+--- testsuite/spencer.sh.orig 2001-12-16 13:29:55.000000000 +0100
++++ testsuite/spencer.sh
+@@ -44,4 +44,4 @@ sed2='
+
+ # We use standard sed for this because the test suite is not this
+ # file, but spencer.inp!
+-sed "$sed1" - | sed "$sed2"
++sed "$sed1" | sed "$sed2"