summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2013-01-06 16:19:07 +0000
committercheusov <cheusov@pkgsrc.org>2013-01-06 16:19:07 +0000
commit4325e68becd87e191f6523a9313314d3e708cc85 (patch)
tree29ef1ec64eaa9d1309ae6333f4663abe79d4b0f9 /shells
parent096b24e29422e12f1779f53741976a0ff406bd2d (diff)
downloadpkgsrc-4325e68becd87e191f6523a9313314d3e708cc85.tar.gz
Fix for build failure on SunOS
Diffstat (limited to 'shells')
-rw-r--r--shells/dash/distinfo3
-rw-r--r--shells/dash/patches/patch-src_mkbuiltins14
2 files changed, 16 insertions, 1 deletions
diff --git a/shells/dash/distinfo b/shells/dash/distinfo
index db88a55fe42..6a5224d36b9 100644
--- a/shells/dash/distinfo
+++ b/shells/dash/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2012/05/30 20:33:26 cheusov Exp $
+$NetBSD: distinfo,v 1.4 2013/01/06 16:19:07 cheusov Exp $
SHA1 (dash-0.5.7.tar.gz) = a3ebc16f2e2c7ae8adf64e5e62ae3dcb631717c6
RMD160 (dash-0.5.7.tar.gz) = 1878942f8ab5723ccfb2eded34169606b4cec475
Size (dash-0.5.7.tar.gz) = 223794 bytes
SHA1 (patch-src_dash.1) = f4c82d255c0615def061ed49e3be9f170e7cd467
+SHA1 (patch-src_mkbuiltins) = 54f46f67653472d7bd5c8064929ef08da49a2b92
diff --git a/shells/dash/patches/patch-src_mkbuiltins b/shells/dash/patches/patch-src_mkbuiltins
new file mode 100644
index 00000000000..3d495f007e2
--- /dev/null
+++ b/shells/dash/patches/patch-src_mkbuiltins
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_mkbuiltins,v 1.1 2013/01/06 16:19:08 cheusov Exp $
+
+# This patch fixes build failure on SunOS if /usr/xpg4/bin is not in PATH
+--- src/mkbuiltins.orig 2011-03-15 07:18:06.000000000 +0000
++++ src/mkbuiltins
+@@ -97,7 +97,7 @@ cat <<\!
+ */
+
+ !
+-sed 's/ -[a-z]*//' $temp2 | nl -b a -v 0 | LC_COLLATE=C sort -u -k 3,3 |
++sed 's/ -[a-z]*//' $temp2 | nl -ba -v0 | LC_COLLATE=C sort -u -k 3,3 |
+ tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ |
+ awk '{ printf "#define %s (builtincmd + %d)\n", $3, $1}'
+ printf '\n#define NUMBUILTINS %d\n' $(wc -l < $temp2)