summaryrefslogtreecommitdiff
path: root/net-im/libpurple/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-03-08 18:15:59 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-03-08 18:15:59 +0000
commit704f8f85fdfcef450e5168c52d8eff2dd956a835 (patch)
tree82bdaa3c6e29f228548122bdfcb9e540678079d1 /net-im/libpurple/files
parentPet portlint. (diff)
Fix the finch build on 5.X.
Reported by: pointyhat via pav
Notes
Notes: svn path=/head/; revision=208652
Diffstat (limited to 'net-im/libpurple/files')
-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 000000000000..c426ab8507f4
--- /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__)