diff options
author | adamw <adamw@FreeBSD.org> | 2002-10-22 05:25:48 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2002-10-22 05:25:48 +0800 |
commit | 6ab9ec9ade272d9a6f6814fb96a3e219f081361e (patch) | |
tree | 2ab8881f801d3d9f33ca96d162ad7c6bc322fd6b | |
parent | f403c7ce75a1f2322fb26f63d962b6164fe5380e (diff) | |
download | freebsd-ports-gnome-6ab9ec9ade272d9a6f6814fb96a3e219f081361e.tar.gz freebsd-ports-gnome-6ab9ec9ade272d9a6f6814fb96a3e219f081361e.tar.zst freebsd-ports-gnome-6ab9ec9ade272d9a6f6814fb96a3e219f081361e.zip |
Fix *alloc definition clash.
PR: 43643
Approved by: pat
-rw-r--r-- | x11/props/files/patch-ab | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/x11/props/files/patch-ab b/x11/props/files/patch-ab index 0aa5f8385e69..cad9fb899fda 100644 --- a/x11/props/files/patch-ab +++ b/x11/props/files/patch-ab @@ -1,6 +1,6 @@ ---- l10n_read.c.orig Sat Nov 8 01:21:25 1997 -+++ l10n_read.c Sun Nov 9 01:44:10 1997 -@@ -18,7 +18,7 @@ +--- l10n_read.c.orig Fri Nov 7 17:21:25 1997 ++++ l10n_read.c Mon Oct 21 03:29:17 2002 +@@ -18,15 +18,17 @@ #include "l10n_props.h" @@ -9,7 +9,17 @@ #define NAME_SEPARATOR '=' #define FIELD_SEPARATOR '|' -@@ -72,8 +72,9 @@ + #define ITEM_SEPARATOR ';' + + ++#if !defined(__FreeBSD__) + extern char *malloc(); + extern char *calloc(); ++#endif + + + /* +@@ -72,8 +74,9 @@ /* * Find path for localization configuration files under * $OPENWINHOME/share/locale/<locale>/props |