summaryrefslogtreecommitdiff
path: root/net-im/libpurple
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2007-08-16 06:29:34 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2007-08-16 06:29:34 +0000
commit87dfa04fb5a06b420b0c2d7f7dfd039b9e1d2863 (patch)
treee346771220b8634759b6251c830f12d8b0b33fd3 /net-im/libpurple
parentadd USE_PERL5 (diff)
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
Notes
Notes: svn path=/head/; revision=197791
Diffstat (limited to 'net-im/libpurple')
-rw-r--r--net-im/libpurple/files/patch-finch_libgnt_gntmain.c11
-rw-r--r--net-im/libpurple/files/patch-finch_libgnt_gntwm.c11
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
+