diff options
author | marcus <marcus@FreeBSD.org> | 2007-08-16 14:29:34 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2007-08-16 14:29:34 +0800 |
commit | 3acdc42aefc645eeb505069d8d36dd3d850fd9b7 (patch) | |
tree | 82c1d69a579ffa184626b0102d67ff611559194a /net-im/libpurple | |
parent | cd83abcb21bdf3b6895f6cf6efeecd3e2ee8e118 (diff) | |
download | freebsd-ports-gnome-3acdc42aefc645eeb505069d8d36dd3d850fd9b7.tar.gz freebsd-ports-gnome-3acdc42aefc645eeb505069d8d36dd3d850fd9b7.tar.zst freebsd-ports-gnome-3acdc42aefc645eeb505069d8d36dd3d850fd9b7.zip |
Fix finch build on 5.X on 64-bit platforms. Basically, rely on our
CFLAGS override to set _XOPEN_SOURCE_EXTENDED.
Reported by: pointyhat via kris
Diffstat (limited to 'net-im/libpurple')
-rw-r--r-- | net-im/libpurple/files/patch-finch_libgnt_gntmain.c | 11 | ||||
-rw-r--r-- | net-im/libpurple/files/patch-finch_libgnt_gntwm.c | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net-im/libpurple/files/patch-finch_libgnt_gntmain.c b/net-im/libpurple/files/patch-finch_libgnt_gntmain.c new file mode 100644 index 000000000000..aaabc974a22f --- /dev/null +++ b/net-im/libpurple/files/patch-finch_libgnt_gntmain.c @@ -0,0 +1,11 @@ +--- finch/libgnt/gntmain.c.orig 2007-08-16 02:18:26.000000000 -0400 ++++ finch/libgnt/gntmain.c 2007-08-16 02:18:42.000000000 -0400 +@@ -21,7 +21,7 @@ + */ + + #define _GNU_SOURCE +-#if defined(__APPLE__) || defined(__unix__) ++#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__) + #define _XOPEN_SOURCE_EXTENDED + #endif + diff --git a/net-im/libpurple/files/patch-finch_libgnt_gntwm.c b/net-im/libpurple/files/patch-finch_libgnt_gntwm.c new file mode 100644 index 000000000000..9788cf084bd1 --- /dev/null +++ b/net-im/libpurple/files/patch-finch_libgnt_gntwm.c @@ -0,0 +1,11 @@ +--- finch/libgnt/gntwm.c.orig 2007-08-16 02:19:22.000000000 -0400 ++++ finch/libgnt/gntwm.c 2007-08-16 02:19:38.000000000 -0400 +@@ -21,7 +21,7 @@ + */ + + #define _GNU_SOURCE +-#if defined(__APPLE__) || defined(__unix__) ++#if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__) + #define _XOPEN_SOURCE_EXTENDED + #endif + |