From 2edfd8e9f53686ccd64201e1d6fcf2fae5252d85 Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 14 Jul 2009 09:14:04 +0000 Subject: Make it build on DragonFly. --- shells/ast-ksh/distinfo | 3 ++- shells/ast-ksh/patches/patch-ad | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 shells/ast-ksh/patches/patch-ad (limited to 'shells') 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 + +-#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 -- cgit v1.2.3