From 87dfa04fb5a06b420b0c2d7f7dfd039b9e1d2863 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Thu, 16 Aug 2007 06:29:34 +0000 Subject: 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 --- net-im/libpurple/files/patch-finch_libgnt_gntmain.c | 11 +++++++++++ net-im/libpurple/files/patch-finch_libgnt_gntwm.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 net-im/libpurple/files/patch-finch_libgnt_gntmain.c create mode 100644 net-im/libpurple/files/patch-finch_libgnt_gntwm.c (limited to 'net-im/libpurple') 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 + -- cgit v1.2.3