diff options
-rw-r--r-- | www/webkit-gtk2/Makefile | 5 | ||||
-rw-r--r-- | www/webkit-gtk2/files/extra-patch-JavaScriptCore_jit_JITStubs.cpp | 11 |
2 files changed, 14 insertions, 2 deletions
diff --git a/www/webkit-gtk2/Makefile b/www/webkit-gtk2/Makefile index 8cc141f46..959c434b0 100644 --- a/www/webkit-gtk2/Makefile +++ b/www/webkit-gtk2/Makefile @@ -3,7 +3,7 @@ # Whom: Michael Johnson <ahze@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/www/webkit-gtk2/Makefile,v 1.45 2009/10/18 17:47:51 marcus Exp $ +# $MCom: ports/www/webkit-gtk2/Makefile,v 1.46 2009/10/19 12:38:18 marcus Exp $ # PORTNAME= webkit @@ -72,7 +72,8 @@ PLIST_SUB+= STATIC="@comment " EXTRA_PATCHES+= ${FILESDIR}/extra-patch-JavaScriptCore_yarr_RegexJIT.h \ ${FILESDIR}/extra-patch-JavaScriptCore_jit_JITStubCall.h \ ${FILESDIR}/extra-patch-JavaScriptCore_jit_JITOpcodes.cpp \ - ${FILESDIR}/extra-patch-JavaScriptCore_assembler_MacroAssemblerCodeRef.h + ${FILESDIR}/extra-patch-JavaScriptCore_assembler_MacroAssemblerCodeRef.h \ + ${FILESDIR}/extra-patch-JavaScriptCore_jit_JITStubs.cpp .endif post-patch: diff --git a/www/webkit-gtk2/files/extra-patch-JavaScriptCore_jit_JITStubs.cpp b/www/webkit-gtk2/files/extra-patch-JavaScriptCore_jit_JITStubs.cpp new file mode 100644 index 000000000..59229e8bc --- /dev/null +++ b/www/webkit-gtk2/files/extra-patch-JavaScriptCore_jit_JITStubs.cpp @@ -0,0 +1,11 @@ +--- JavaScriptCore/jit/JITStubs.cpp.orig 2009-10-19 15:13:27.000000000 -0400 ++++ JavaScriptCore/jit/JITStubs.cpp 2009-10-19 15:13:46.000000000 -0400 +@@ -2672,7 +2672,7 @@ DEFINE_STUB_FUNCTION(EncodedJSValue, op_ + + if (!handler) { + *stackFrame.exception = exceptionValue; +- STUB_SET_RETURN_ADDRESS(reinterpret_cast<void*>(ctiOpThrowNotCaught)); ++ STUB_SET_RETURN_ADDRESS((void*)(ctiOpThrowNotCaught)); + return JSValue::encode(jsNull()); + } + |