diff options
author | reg <reg@FreeBSD.org> | 2002-01-06 20:53:22 +0000 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2002-01-06 20:53:22 +0000 |
commit | ec0f4a9bf14fc86aa06292505a8bbb03daaf1105 (patch) | |
tree | ef7dceeb4b0c6b0eaee1d20df6119a617e45096c /net/gnomeicu | |
parent | 664d57724cc7b7119a3bc8bf313f4bb7b5d3ad88 (diff) | |
download | FreeBSD-ports-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.zip FreeBSD-ports-ec0f4a9bf14fc86aa06292505a8bbb03daaf1105.tar.gz |
Fix for building on -CURRENT without <malloc.h>
Diffstat (limited to 'net/gnomeicu')
-rw-r--r-- | net/gnomeicu/files/patch-src::icu_db.c | 14 | ||||
-rw-r--r-- | net/gnomeicu/gnomeicu/files/patch-src::icu_db.c | 14 |
2 files changed, 28 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 0000000..0a0196a --- /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> diff --git a/net/gnomeicu/gnomeicu/files/patch-src::icu_db.c b/net/gnomeicu/gnomeicu/files/patch-src::icu_db.c new file mode 100644 index 0000000..0a0196a --- /dev/null +++ b/net/gnomeicu/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> |