summaryrefslogtreecommitdiff
path: root/net-im/gnomeicu/files
diff options
context:
space:
mode:
authorJeremy Lea <reg@FreeBSD.org>2002-01-06 20:53:22 +0000
committerJeremy Lea <reg@FreeBSD.org>2002-01-06 20:53:22 +0000
commit2a68afcbbd9776f4bf56b6b49962d9ad5e36b9e4 (patch)
tree9858c34855489783bcc98ea5c22f3711e9a6f52a /net-im/gnomeicu/files
parentMissed ${LOCALBASE}/pilot/ -> ${LOCALBASE} (diff)
Fix for building on -CURRENT without <malloc.h>
Notes
Notes: svn path=/head/; revision=52670
Diffstat (limited to 'net-im/gnomeicu/files')
-rw-r--r--net-im/gnomeicu/files/patch-src::icu_db.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-im/gnomeicu/files/patch-src::icu_db.c b/net-im/gnomeicu/files/patch-src::icu_db.c
new file mode 100644
index 000000000000..0a0196a73c92
--- /dev/null
+++ b/net-im/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>