pkgsrc/devel/kdesdk3/patches/patch-ab
skrll 50258383a6 Import of a kdesdk 3.0.2 package.
Based on my earlier work and pkg/17572 from Joe Reed <jnr@po.cwru.edu>
2002-07-17 11:06:47 +00:00

16 lines
417 B
Text

$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)