summaryrefslogtreecommitdiffstats
path: root/net-im/libpurple/files/patch-finch_libgnt_gntwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/libpurple/files/patch-finch_libgnt_gntwm.c')
-rw-r--r--net-im/libpurple/files/patch-finch_libgnt_gntwm.c15
1 files changed, 15 insertions, 0 deletions
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 000000000..b4cd06b4b
--- /dev/null
+++ b/net-im/libpurple/files/patch-finch_libgnt_gntwm.c
@@ -0,0 +1,15 @@
+--- finch/libgnt/gntwm.c.orig 2008-03-08 13:10:52.000000000 -0500
++++ finch/libgnt/gntwm.c 2008-03-08 13:13:56.000000000 -0500
+@@ -24,6 +24,12 @@
+
+ #ifdef USE_PYTHON
+ #include <Python.h>
++#ifdef __FreeBSD__
++#include <sys/param.h>
++#if (__FreeBSD_version <= 700032 && __FreeBSD_version >= 700000) || __FreeBSD_version <= 602106
++#undef _XOPEN_SOURCE_EXTENDED
++#endif
++#endif
+ #else
+ #define _GNU_SOURCE
+ #if (defined(__APPLE__) || defined(__unix__)) && !defined(__FreeBSD__)