aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+