summaryrefslogtreecommitdiff
path: root/p/haskell-charsetdetect-ae/debian/patches/kfreebsd
blob: 6df91725699ad8297ab25c9a64c2c12117e4b75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
As suggested by Edmund Grimley Evans

Index: charsetdetect-ae-1.0.1/libcharsetdetect/nspr-emu/prcpucfg.h
===================================================================
--- charsetdetect-ae-1.0.1.orig/libcharsetdetect/nspr-emu/prcpucfg.h	2015-06-17 10:35:16.813934265 +0200
+++ charsetdetect-ae-1.0.1/libcharsetdetect/nspr-emu/prcpucfg.h	2015-06-17 10:37:24.203688373 +0200
@@ -34,7 +34,7 @@
 #include "prcpucfg_win.h"
 #elif defined(__APPLE__)
 #include "prcpucfg_mac.h"
-#elif defined(__linux__)
+#elif defined(__linux__) || (defined(__FreeBSD_kernel__) && defined(__GLIBC__))
 #include "prcpucfg_linux.h"
 #elif defined(__FreeBSD__)
 #include "prcpucfg_freebsd.h"