pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

7kaa: fix unportable test(1) operator.



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Wed Dec 14 00:15:52 2016 +0100
Changeset:	c97c9cb232a67acdf2848cb494941855aa3ecae3

Modified Files:
	7kaa/distinfo
Added Files:
	7kaa/patches/patch-autogen.sh

Log Message:
7kaa: fix unportable test(1) operator.

Now fails to configure for me with
checking for _NSGetExecutablePath... no
./configure: 4687: Syntax error: Word "external" unexpected (expecting ")")

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c97c9cb232a67acdf2848cb494941855aa3ecae3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 7kaa/distinfo                 |  1 +
 7kaa/patches/patch-autogen.sh | 15 +++++++++++++++
 2 files changed, 16 insertions(+)

diffs:
diff --git a/7kaa/distinfo b/7kaa/distinfo
index 40e5b4d..dc353e5 100644
--- a/7kaa/distinfo
+++ b/7kaa/distinfo
@@ -4,3 +4,4 @@ SHA1 (7kaa-2.14.6.tar.gz) = 2d3c718495703904c163a74227baebe34ad9ca8b
 RMD160 (7kaa-2.14.6.tar.gz) = 390ab97cae779cfd93e6d818d57395471333bfad
 SHA512 (7kaa-2.14.6.tar.gz) = 4b8e005a45eec8bc56bcd7561f665afc462f364c288c472d1ebffccd6d574e88eb3ea9b501b8328c3d71ad675d62d06eefb44a0be3f65f665f8a3fe4de0745a2
 Size (7kaa-2.14.6.tar.gz) = 42966967 bytes
+SHA1 (patch-autogen.sh) = 57a396ac6bb1983d8c05f2f0d6b0e6d269cf0dec
diff --git a/7kaa/patches/patch-autogen.sh b/7kaa/patches/patch-autogen.sh
new file mode 100644
index 0000000..050a840
--- /dev/null
+++ b/7kaa/patches/patch-autogen.sh
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Fix unportable test(1) operator.
+
+--- autogen.sh.orig	2016-12-13 23:13:24.865070763 +0000
++++ autogen.sh
+@@ -12,7 +12,7 @@ rm -f ABOUT-NLS config.rpath m4/codeset.
+       m4/wint_t.m4 m4/xsize.m4 po/Makefile.in.in po/Makevars.template \
+       po/Rules-quot po/boldquot.sed po/en@boldquot.header po/en@quot.header \
+       po/insert-header.sin po/quot.sed po/remove-potcdate.sin
+-test "$1" == clean && exit 0
++test "$1" = clean && exit 0
+ 
+ autopoint -f
+ 


Home | Main Index | Thread Index | Old Index