diff options
author | Fathi Boudra <fabo@debian.org> | 2010-01-21 21:54:29 +0100 |
---|---|---|
committer | Fathi Boudra <fabo@debian.org> | 2010-01-21 21:54:29 +0100 |
commit | b3e8073df9201386aa420d5f4cab839615a0c6c5 (patch) | |
tree | f896675d49d93ea420b147c357a55af3bccfb0ca /debian | |
parent | 8c08579e633bbd40f521120696cb41e654550afa (diff) | |
download | qt4-x11-b3e8073df9201386aa420d5f4cab839615a0c6c5.tar.gz |
Forget to add the patch. Thanks to Pino for the notice.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/patches/51_kfreebsd_strnstr_build_fix.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/51_kfreebsd_strnstr_build_fix.diff b/debian/patches/51_kfreebsd_strnstr_build_fix.diff new file mode 100644 index 0000000..1c0a814 --- /dev/null +++ b/debian/patches/51_kfreebsd_strnstr_build_fix.diff @@ -0,0 +1,15 @@ +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 + +--- a/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h ++++ b/src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h +@@ -68,7 +68,7 @@ + /* PLATFORM(LINUX) */ + /* Operating system level dependencies for Linux-like systems that */ + /* should be used regardless of operating environment */ +-#ifdef __linux__ ++#if defined(__linux__) || defined(__GLIBC__) + #define WTF_PLATFORM_LINUX 1 + #endif + |