summaryrefslogtreecommitdiff
path: root/devel/ddd
diff options
context:
space:
mode:
authortron <tron>1999-01-16 21:37:58 +0000
committertron <tron>1999-01-16 21:37:58 +0000
commite217c9df36e14ec969fe1ebde9b70adb8b511e4f (patch)
treed43ae3d2f5548d1daa02da2054f620c6cf610090 /devel/ddd
parent25f53bfa6f13de8ffb7a5ea48a77c51219494774 (diff)
downloadpkgsrc-e217c9df36e14ec969fe1ebde9b70adb8b511e4f.tar.gz
Make this compile with NetBSD-current's "libc" changes.
Diffstat (limited to 'devel/ddd')
-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)