diff options
author | hasso <hasso@pkgsrc.org> | 2009-07-14 09:14:04 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-07-14 09:14:04 +0000 |
commit | 2edfd8e9f53686ccd64201e1d6fcf2fae5252d85 (patch) | |
tree | 918c64fa3521f67b7abeb210ca81b3b8acc32f95 /shells/ast-ksh/patches | |
parent | 82500564dea8a9bd99fa256d80e933520b2e196f (diff) | |
download | pkgsrc-2edfd8e9f53686ccd64201e1d6fcf2fae5252d85.tar.gz |
Make it build on DragonFly.
Diffstat (limited to 'shells/ast-ksh/patches')
-rw-r--r-- | shells/ast-ksh/patches/patch-ad | 23 |
1 files changed, 23 insertions, 0 deletions
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 |