diff options
author | marcus <marcus@FreeBSD.org> | 2008-03-09 02:15:59 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2008-03-09 02:15:59 +0800 |
commit | ca3cec76a6d46730b5717aff06694554fd9c08e8 (patch) | |
tree | 7c5bf8b92ab714729b26dc060f390f637b95f923 /net-im | |
parent | cc91dbbd57ff5017619d56d9c23e5758e8c56070 (diff) | |
download | freebsd-ports-gnome-ca3cec76a6d46730b5717aff06694554fd9c08e8.tar.gz freebsd-ports-gnome-ca3cec76a6d46730b5717aff06694554fd9c08e8.tar.zst freebsd-ports-gnome-ca3cec76a6d46730b5717aff06694554fd9c08e8.zip |
Fix the finch build on 5.X.
Reported by: pointyhat via pav
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/libpurple/files/patch-finch_libgnt_gntwm.c | 15 |
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__) |