summaryrefslogtreecommitdiffstats
path: root/net/gnomeicu2
diff options
context:
space:
mode:
authorreg <reg@FreeBSD.org>2002-01-06 20:53:22 +0000
committerreg <reg@FreeBSD.org>2002-01-06 20:53:22 +0000
commitec0f4a9bf14fc86aa06292505a8bbb03daaf1105 (patch)
treeef7dceeb4b0c6b0eaee1d20df6119a617e45096c /net/gnomeicu2
parent664d57724cc7b7119a3bc8bf313f4bb7b5d3ad88 (diff)
downloadFreeBSD-ports-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.zip
FreeBSD-ports-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.tar.gz
Fix for building on -CURRENT without <malloc.h>
Diffstat (limited to 'net/gnomeicu2')
-rw-r--r--net/gnomeicu2/files/patch-src::icu_db.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/gnomeicu2/files/patch-src::icu_db.c b/net/gnomeicu2/files/patch-src::icu_db.c
new file mode 100644
index 0000000..0a0196a
--- /dev/null
+++ b/net/gnomeicu2/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>
OpenPOWER on IntegriCloud