summaryrefslogtreecommitdiff
path: root/devel/kdesdk/files
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2001-08-21 08:23:03 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2001-08-21 08:23:03 +0000
commitc845156e7dafd36dd57e0f2aee8acfe86352fd9c (patch)
tree4c8fabab6d006d3861d4a1a5cf94327649e84609 /devel/kdesdk/files
parentFix installation in a slightly different way. (diff)
Upgrade to 2.2
Notes
Notes: svn path=/head/; revision=46575
Diffstat (limited to 'devel/kdesdk/files')
-rw-r--r--devel/kdesdk/files/patch-aa27
1 files changed, 27 insertions, 0 deletions
diff --git a/devel/kdesdk/files/patch-aa b/devel/kdesdk/files/patch-aa
new file mode 100644
index 000000000000..2d65987e5766
--- /dev/null
+++ b/devel/kdesdk/files/patch-aa
@@ -0,0 +1,27 @@
+--- kbabel/common/libgettext/xmalloc.c.orig Tue Aug 21 11:08:13 2001
++++ kbabel/common/libgettext/xmalloc.c Tue Aug 21 11:09:28 2001
+@@ -26,6 +26,7 @@
+ #endif
+
+ #include <sys/types.h>
++#include <err.h>
+
+ #if STDC_HEADERS
+ # include <stdlib.h>
+@@ -61,7 +62,6 @@
+ The caller may set it to some other value. */
+ int xmalloc_exit_failure = EXIT_FAILURE;
+
+-void error (int, int, const char *, ...);
+
+ static VOID *
+ fixup_null_alloc (n)
+@@ -73,7 +73,7 @@
+ if (n == 0)
+ p = malloc ((size_t) 1);
+ if (p == 0)
+- error (xmalloc_exit_failure, 0, _("Memory exhausted"));
++ err (xmalloc_exit_failure, "Memory exhausted");
+ return p;
+ }
+