summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1999-01-16 21:37:58 +0000
committertron <tron@pkgsrc.org>1999-01-16 21:37:58 +0000
commitf737b72e8ccc583ba5fa21437dfde782649dfa0c (patch)
treed43ae3d2f5548d1daa02da2054f620c6cf610090 /devel
parent09f9c90cf07c3ff7dcdaa9003f8292d91b964f0e (diff)
downloadpkgsrc-f737b72e8ccc583ba5fa21437dfde782649dfa0c.tar.gz
Make this compile with NetBSD-current's "libc" changes.
Diffstat (limited to 'devel')
-rw-r--r--devel/ddd/patches/patch-ac20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/ddd/patches/patch-ac b/devel/ddd/patches/patch-ac
new file mode 100644
index 00000000000..236be9c474f
--- /dev/null
+++ b/devel/ddd/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 1999/01/16 21:37:58 tron Exp $
+
+--- libiberty/functions.def.orig Thu Apr 30 10:35:35 1998
++++ libiberty/functions.def Sat Jan 16 15:48:08 1999
+@@ -55,15 +55,12 @@
+ second arg is how to declare the variable, and the third is how to
+ use it. */
+
+-DEFVAR(sys_nerr, int sys_nerr, sys_nerr = 0)
+-DEFVAR(sys_errlist, char *sys_errlist[], sys_errlist[0] = 0)
+ DEFVAR(sys_siglist, char *sys_siglist[], sys_siglist[0] = 0)
+
+ /* List of global functions that we want to look for in the host
+ environment, and to generate an entry NEED_<funcname> in config.h
+ if they are not found. */
+
+-DEFFUNC(strerror, char*, (errnoval), int errnoval)
+ DEFFUNC(psignal, void, (signo, message), unsigned signo AND char *message)
+ DEFFUNC(basename, char *, (name), CONST char *name)
+ DEFFUNC(on_exit, void, (f, arg), void (*f)() AND char *arg)