diff options
author | dholland <dholland@pkgsrc.org> | 2012-05-06 18:41:51 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-05-06 18:41:51 +0000 |
commit | 16ec0f05227157927e8a942a26876e98ed6e0353 (patch) | |
tree | 815b794d628d32694397105ee5c55422157a9f88 /chat/xchat/patches/patch-ab | |
parent | 18ff4b0fd20a3367f56d0d5ffb0a9fbad526d321 (diff) | |
download | pkgsrc-16ec0f05227157927e8a942a26876e98ed6e0353.tar.gz |
Fix build with latest glib2. Since this requires touching patch-ab,
rename it to match.
Diffstat (limited to 'chat/xchat/patches/patch-ab')
-rw-r--r-- | chat/xchat/patches/patch-ab | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/chat/xchat/patches/patch-ab b/chat/xchat/patches/patch-ab deleted file mode 100644 index 4a379409678..00000000000 --- a/chat/xchat/patches/patch-ab +++ /dev/null @@ -1,51 +0,0 @@ -$NetBSD: patch-ab,v 1.12 2008/08/15 17:25:32 tron Exp $ - ---- src/common/util.c.orig 2008-02-24 02:59:48.000000000 +0000 -+++ src/common/util.c 2008-08-15 11:16:47.000000000 +0100 -@@ -49,6 +49,10 @@ - - #if defined (USING_FREEBSD) || defined (__APPLE__) - #include <sys/sysctl.h> -+#elif defined(__NetBSD__) -+#define session NetBSD_session -+#include <sys/sysctl.h> -+#undef session - #endif - #ifdef SOCKS - #include <socks.h> -@@ -510,7 +514,7 @@ - return len; - } - --#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) -+#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) || defined (__NetBSD__) - - static void - get_cpu_info (double *mhz, int *cpus) -@@ -554,7 +558,7 @@ - *cpus = 1; - - #endif --#ifdef USING_FREEBSD -+#if defined(USING_FREEBSD) || defined (__NetBSD__) - - int mib[2], ncpu; - u_long freq; -@@ -656,7 +660,7 @@ - char * - get_cpu_str (void) - { --#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) -+#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) || defined (__NetBSD__) - double mhz; - #endif - int cpus = 1; -@@ -670,7 +674,7 @@ - - uname (&un); - --#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) -+#if defined (USING_LINUX) || defined (USING_FREEBSD) || defined (__APPLE__) || defined (__NetBSD__) - get_cpu_info (&mhz, &cpus); - if (mhz) - { |