diff options
Diffstat (limited to 'x11/rxvt-unicode/patches/patch-bb')
-rw-r--r-- | x11/rxvt-unicode/patches/patch-bb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/x11/rxvt-unicode/patches/patch-bb b/x11/rxvt-unicode/patches/patch-bb deleted file mode 100644 index 21e90cffe7e..00000000000 --- a/x11/rxvt-unicode/patches/patch-bb +++ /dev/null @@ -1,23 +0,0 @@ -$NetBSD: patch-bb,v 1.1 2009/09/03 19:29:26 roy Exp $ - -Check for popcount in libc - ---- src/rxvtutil.h 2008-11-05 14:43:24.000000000 +0000 -+++ src/rxvtutil.h 2009-09-03 20:19:38.000000000 +0100 -@@ -94,12 +94,16 @@ - // some bit functions, xft fuck me plenty - #if HAVE_GCC_BUILTINS - static inline int ctz (unsigned int x) { return __builtin_ctz (x); } -+#if !HAVE_POPCOUNT - static inline int popcount (unsigned int x) { return __builtin_popcount (x); } -+#endif - #else - // count trailing zero bits and count # of one bits - int ctz (unsigned int x) CONST; -+#if !HAVE_POPCOUNT - int popcount (unsigned int x) CONST; - #endif -+#endif - - // in range including end - #define IN_RANGE_INC(val,beg,end) \ |