summaryrefslogtreecommitdiff
path: root/devel/kdesdk3/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/kdesdk3/patches/patch-ab')
-rw-r--r--devel/kdesdk3/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/kdesdk3/patches/patch-ab b/devel/kdesdk3/patches/patch-ab
new file mode 100644
index 00000000000..509cece0c22
--- /dev/null
+++ b/devel/kdesdk3/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2002/07/17 11:06:50 skrll Exp $
+
+--- kbabel/common/libgettext/xmalloc.c.orig Thu Dec 6 20:58:00 2001
++++ kbabel/common/libgettext/xmalloc.c
+@@ -62,7 +62,11 @@
+ The caller may set it to some other value. */
+ int xmalloc_exit_failure = EXIT_FAILURE;
+
++#ifdef __NetBSD__
++#include <err.h>
++#else
+ void error (int, int, const char *, ...);
++#endif
+
+ static VOID *
+ fixup_null_alloc (n)