diff options
author | adam <adam@pkgsrc.org> | 2012-01-16 09:00:27 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2012-01-16 09:00:27 +0000 |
commit | bee9d1fd7064ac719d19975bee3b2b56ace04187 (patch) | |
tree | 42ce0d2955918bd0b836086974fb5233784274af | |
parent | fd412ee2ecff751dbd911dbef64cee5470e0ad3b (diff) | |
download | pkgsrc-bee9d1fd7064ac719d19975bee3b2b56ace04187.tar.gz |
Fix building on NetBSD/amd64 with GCC.
-rw-r--r-- | x11/qt4-libs/distinfo | 3 | ||||
-rw-r--r-- | x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_JITStubs.cpp | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/qt4-libs/distinfo b/x11/qt4-libs/distinfo index ae9bb763a0f..f532fbe75ab 100644 --- a/x11/qt4-libs/distinfo +++ b/x11/qt4-libs/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.67 2012/01/14 10:23:18 obache Exp $ +$NetBSD: distinfo,v 1.68 2012/01/16 09:00:27 adam Exp $ SHA1 (qt-everywhere-opensource-src-4.8.0.tar.gz) = 2ba35adca8fb9c66a58eca61a15b21df6213f22e RMD160 (qt-everywhere-opensource-src-4.8.0.tar.gz) = 7506dce7743215481fd9fe56920b8a47f07a112e @@ -39,6 +39,7 @@ SHA1 (patch-cg) = 2519fe525237167f10dffb9294c861f4d7063f31 SHA1 (patch-ci) = bc85adf9ea17be24f92897b960517941f5b28ab7 SHA1 (patch-cj) = 4f6d3546e3bc04ca2034af21645fc6f27bc82eef SHA1 (patch-qmake_generators_makefile.cpp) = 54184d85fd06c86a62640add6c8334ca323ea863 +SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_JITStubs.cpp) = 11059a233c4b272084a85c077a8118e863aad25b SHA1 (patch-src_3rdparty_webkit_Source_WebCore_features.pri) = d0053dd2732604908fcec294b2a833aeb6d93f40 SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_DefaultLocalizationStrategy.cpp) = 9e4a68fe02204e5fda7272f988d991992dfd281e SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_MediaPlayer.cpp) = f9a1f71b4607c5f542c059873cf5735fad9ff3a1 diff --git a/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_JITStubs.cpp b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_JITStubs.cpp new file mode 100644 index 00000000000..8733ea1cd05 --- /dev/null +++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_JITStubs.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_JITStubs.cpp,v 1.1 2012/01/16 09:00:27 adam Exp $ + +Fix building on NetBSD/amd64 with GCC. + +--- src/3rdparty/webkit/Source/JavaScriptCore/jit/JITStubs.cpp.orig 2012-01-16 06:31:42.000000000 +0000 ++++ src/3rdparty/webkit/Source/JavaScriptCore/jit/JITStubs.cpp +@@ -79,7 +79,7 @@ namespace JSC { + #define THUMB_FUNC_PARAM(name) + #endif + +-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64) ++#if (OS(LINUX) || OS(FREEBSD) || OS(NETBSD)) && CPU(X86_64) + #define SYMBOL_STRING_RELOCATION(name) #name "@plt" + #elif OS(DARWIN) || (CPU(X86_64) && COMPILER(MINGW) && !GCC_VERSION_AT_LEAST(4, 5, 0)) + #define SYMBOL_STRING_RELOCATION(name) "_" #name |