diff options
Diffstat (limited to 'net-im/libpurple/files')
-rw-r--r-- | net-im/libpurple/files/patch-finch_libgnt_gntwm.c | 15 | ||||
-rw-r--r-- | net-im/libpurple/files/patch-libpurple-protocols-zephyr-Zinternal.c | 10 |
2 files changed, 25 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__) diff --git a/net-im/libpurple/files/patch-libpurple-protocols-zephyr-Zinternal.c b/net-im/libpurple/files/patch-libpurple-protocols-zephyr-Zinternal.c new file mode 100644 index 000000000..2d8d1d956 --- /dev/null +++ b/net-im/libpurple/files/patch-libpurple-protocols-zephyr-Zinternal.c @@ -0,0 +1,10 @@ +--- libpurple/protocols/zephyr/Zinternal.c.orig 2010-01-21 11:30:42.000000000 -0800 ++++ libpurple/protocols/zephyr/Zinternal.c 2010-01-21 11:30:50.000000000 -0800 +@@ -30,7 +30,6 @@ + #else + #include <arpa/inet.h> + #include <sys/socket.h> +-#include <utmp.h> + #endif + + int __Zephyr_fd = -1; |