summaryrefslogtreecommitdiff
path: root/shells/ast-ksh
diff options
context:
space:
mode:
authorhasso <hasso>2009-07-14 09:14:04 +0000
committerhasso <hasso>2009-07-14 09:14:04 +0000
commit1aa98a3c8025eec8b133143a3e161798e1a279c4 (patch)
tree918c64fa3521f67b7abeb210ca81b3b8acc32f95 /shells/ast-ksh
parent0ceee4756cc85e7148638eaad1201b0896fdfc62 (diff)
downloadpkgsrc-1aa98a3c8025eec8b133143a3e161798e1a279c4.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'shells/ast-ksh')
-rw-r--r--shells/ast-ksh/distinfo3
-rw-r--r--shells/ast-ksh/patches/patch-ad23
2 files changed, 25 insertions, 1 deletions
diff --git a/shells/ast-ksh/distinfo b/shells/ast-ksh/distinfo
index f620415e5bd..68f87d3affd 100644
--- a/shells/ast-ksh/distinfo
+++ b/shells/ast-ksh/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2007/12/02 12:55:09 wiz Exp $
+$NetBSD: distinfo,v 1.12 2009/07/14 09:14:04 hasso Exp $
SHA1 (INIT.2006-02-14.tgz) = 4661c72187bff2cd5fa3558ee7c0c22dd3ba5f39
RMD160 (INIT.2006-02-14.tgz) = 68649532a15c34dcb20d61a544c1594d030c5f3f
@@ -9,3 +9,4 @@ Size (ast-ksh.2006-02-14.tgz) = 1575902 bytes
SHA1 (patch-aa) = dd3e5cc9b80ae6e24faed3f15af354cf34fb16a0
SHA1 (patch-ab) = adbbdb5deeb15c1eeb38bec5685d9e6331b2b964
SHA1 (patch-ac) = ee5c19ead4e27b4b2ac8430e1a98d77ea991b4a1
+SHA1 (patch-ad) = a85c7ac72c3443e4c140ee36bbc35b2a4eb42062
diff --git a/shells/ast-ksh/patches/patch-ad b/shells/ast-ksh/patches/patch-ad
new file mode 100644
index 00000000000..052cb0eeb4a
--- /dev/null
+++ b/shells/ast-ksh/patches/patch-ad
@@ -0,0 +1,23 @@
+$NetBSD: patch-ad,v 1.1 2009/07/14 09:14:04 hasso Exp $
+
+--- ./src/lib/libast/comp/errno.c.orig 2009-07-12 13:42:46 +0300
++++ ./src/lib/libast/comp/errno.c 2009-07-12 13:43:36 +0300
+@@ -23,18 +23,4 @@
+
+ #include <ast.h>
+
+-#if _tst_errno
+-
+ NoN(errno)
+-
+-#else
+-
+-/*
+- * this avoids multiple definitions with some libc's
+- * that define both an ast library supplied routine and
+- * errno in the same .o
+- */
+-
+-int errno;
+-
+-#endif