aboutsummaryrefslogtreecommitdiffstats
path: root/net/gnomeicu/files
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2002-01-07 04:53:22 +0800
committerreg <reg@FreeBSD.org>2002-01-07 04:53:22 +0800
commitec0f4a9bf14fc86aa06292505a8bbb03daaf1105 (patch)
treeef7dceeb4b0c6b0eaee1d20df6119a617e45096c /net/gnomeicu/files
parent664d57724cc7b7119a3bc8bf313f4bb7b5d3ad88 (diff)
downloadfreebsd-ports-gnome-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.tar.gz
freebsd-ports-gnome-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.tar.zst
freebsd-ports-gnome-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.zip
Fix for building on -CURRENT without <malloc.h>
Diffstat (limited to 'net/gnomeicu/files')
-rw-r--r--net/gnomeicu/files/patch-src::icu_db.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/gnomeicu/files/patch-src::icu_db.c b/net/gnomeicu/files/patch-src::icu_db.c
new file mode 100644
index 000000000000..0a0196a73c92
--- /dev/null
+++ b/net/gnomeicu/files/patch-src::icu_db.c
@@ -0,0 +1,14 @@
+--- src/icu_db.c.orig Sat Jan 5 19:15:03 2002
++++ src/icu_db.c Sat Jan 5 19:16:00 2002
+@@ -33,7 +33,11 @@
+ #include <errno.h>
+ #include <stdio.h>
+ #include <string.h>
++#if defined(HAVE_STDLIB_H)
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+
+ #if defined(HAVE_LIBGDBM)
+ #include <gdbm.h>