Package: qt4-x11 / 4:4.8.2+dfsg-11

51_kfreebsd_strnstr_build_fix.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description: Fix FTBFS on GNU/kFreeBSD caused by missing strnstr() on glibc systems.
Author: Fathi Boudra <fabo@debian.org>
Bug: https://bugs.webkit.org/show_bug.cgi?id=33903

---
 src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h |    2 +-
 src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

--- a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/Platform.h
@@ -423,7 +423,7 @@
 #endif
 
 /* OS(LINUX) - Linux */
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 #define WTF_OS_LINUX 1
 #endif
 
--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -393,7 +393,7 @@
 #endif
 
 /* OS(LINUX) - Linux */
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
 #define WTF_OS_LINUX 1
 #endif