qt5-qtwebkit: update to 5.212.0.alpha2
Version of qtwebkit that is being updated with webkit changes.
This commit is contained in:
parent
ff32ea9d8d
commit
21a396fa76
51 changed files with 302 additions and 931 deletions
|
@ -1,21 +1,75 @@
|
|||
# $NetBSD: Makefile,v 1.46 2017/11/30 16:45:13 adam Exp $
|
||||
# $NetBSD: Makefile,v 1.47 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
DISTNAME= qtwebkit-opensource-src-${QTVERSION}
|
||||
PKGNAME= qt5-qtwebkit-${QTVERSION}
|
||||
PKGREVISION= 15
|
||||
DISTNAME= qtwebkit-${QTWKVERSION}
|
||||
PKGNAME= qt5-qtwebkit-${QTWKVERSION:S/-/./}
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=annulen/}
|
||||
GITHUB_PROJECT= webkit
|
||||
GITHUB_RELEASE= ${DISTNAME}
|
||||
#MASTER_SITES= https://github.com/annulen/webkit/releases/download/qtwebkit-${QTWKVERSION}/
|
||||
CATEGORIES= x11
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://qt-project.org/
|
||||
COMMENT= Qt5 WebView module
|
||||
LICENSE= gnu-lgpl-v2.1 AND gnu-gpl-v3
|
||||
EXTRACT_SUFX= .tar.xz
|
||||
|
||||
QTWKVERSION= 5.212.0-alpha2
|
||||
|
||||
.include "../../mk/dlopen.buildlink3.mk"
|
||||
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
|
||||
|
||||
USE_LANGUAGES= c c++11
|
||||
USE_TOOLS+= gmake perl:build pkg-config bison flex sed
|
||||
USE_CMAKE= yes
|
||||
CMAKE_ARG_PATH= ..
|
||||
CONFIGURE_DIRS= _build
|
||||
CMAKE_INSTALL_PREFIX= ${PREFIX}/qt5
|
||||
|
||||
CMAKE_ARGS+= -DPORT=Qt
|
||||
CMAKE_ARGS+= -DENABLE_TOOLS=OFF
|
||||
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
|
||||
CMAKE_ARGS+= -DSHARED_CORE:BOOL=ON
|
||||
CMAKE_ARGS+= -DUSE_SYSTEM_MALLOC:BOOL=ON
|
||||
CMAKE_ARGS+= -DUSE_LD_GOLD:BOOL=OFF
|
||||
## requires gcc >= 4.9
|
||||
#CMAKE_ARGS+= -DENABLE_FTL_JIT:BOOL=OFF
|
||||
#CMAKE_ARGS+= -DENABLE_INDEXED_DATABASE:BOOL=OFF
|
||||
## needs JIT and ASSEMBLER
|
||||
CMAKE_ARGS+= -DENABLE_SAMPLING_PROFILER:BOOL=OFF
|
||||
|
||||
CMAKE_ARGS+= -DKDE_INSTALL_LIBEXECDIR=${CMAKE_INSTALL_PREFIX}/libexec
|
||||
#CMAKE_ARGS+= -DLIBEXEC_INSTALL_DIR=${CMAKE_INSTALL_PREFIX}/libexec
|
||||
|
||||
GCC_REQD+= 4.9
|
||||
|
||||
pre-configure:
|
||||
${MKDIR} ${WRKSRC}/_build
|
||||
|
||||
# wcstof(3) etc. is used in C++ code.
|
||||
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
|
||||
|
||||
## for GL_GLEXT_LEGACY with GL/gl.h error, GL_ARB_shader_objects is not defined.
|
||||
#BUILDLINK_TRANSFORM+= rm:-Wundef
|
||||
|
||||
PLIST_VARS+= mac unix
|
||||
.if ${OPSYS} == "Darwin"
|
||||
PLIST.mac= yes
|
||||
.else
|
||||
PLIST.unix= yes
|
||||
.endif
|
||||
|
||||
# avoid creating a .qt directory in the users home directory
|
||||
SCRIPTS_ENV+= HOME=${WRKDIR}
|
||||
|
||||
BUILD_DEPENDS+= gperf-[0-9]*:../../devel/gperf
|
||||
|
||||
USE_TOOLS+= bison flex pkg-config sed
|
||||
REPLACE_PERL+= Source/WebKit2/Scripts/generate-forwarding-headers.pl
|
||||
|
||||
MAKE_ENV+= QTDIR=${QTDIR}
|
||||
#MAKE_ENV+= QTDIR=${QTDIR}
|
||||
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
|
||||
INSTALLATION_DIRS+= lib/pkgconfig
|
||||
|
||||
.include "../../x11/qt5-qtbase/Makefile.common"
|
||||
|
||||
.if ${_USE_CWRAPPERS} == "yes"
|
||||
BUILDLINK_TRANSFORM+= R:${WRKSRC}/lib:${QTDIR}/lib
|
||||
.else
|
||||
|
@ -38,6 +92,7 @@ post-install:
|
|||
.endif
|
||||
.include "../../graphics/libwebp/buildlink3.mk"
|
||||
.include "../../mk/curses.buildlink3.mk"
|
||||
.include "../../textproc/hyphen/buildlink3.mk"
|
||||
.include "../../textproc/icu/buildlink3.mk"
|
||||
.include "../../textproc/libxslt/buildlink3.mk"
|
||||
.if ${OPSYS} != "Darwin"
|
||||
|
|
|
@ -1,42 +1,17 @@
|
|||
@comment $NetBSD: PLIST,v 1.4 2014/12/30 17:23:47 adam Exp $
|
||||
@comment $NetBSD: PLIST,v 1.5 2018/01/17 19:37:33 markd Exp $
|
||||
lib/pkgconfig/Qt5WebKit.pc
|
||||
lib/pkgconfig/Qt5WebKitWidgets.pc
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/bytearraytestdata.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qhttpheader_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquicknetworkreply_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquicknetworkrequest_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquickurlschemedelegate_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquickwebpage_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquickwebpage_p_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquickwebview_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qquickwebview_p_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qrawwebview_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qrawwebview_p_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qtwebsecurityorigin_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebchannelwebkittransport_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebdatabase_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebdownloaditem_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebdownloaditem_p_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebelement_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebhistory_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebiconimageprovider_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebkittest_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebloadrequest_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebnavigationhistory_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebnavigationhistory_p_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebnavigationrequest_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebpermissionrequest_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebplugindatabase_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebpreferences_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebpreferences_p_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebscriptworld.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebscriptworld_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/qwebsecurityorigin_p.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/testwindow.h
|
||||
qt5/include/QtWebKit/${PKGVERSION}/QtWebKit/private/util.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qhttpheader_p.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qwebdatabase_p.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qwebelement_p.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qwebhistory_p.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qwebplugindatabase_p.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qwebscriptworld_p.h
|
||||
qt5/include/QtWebKit/5.212.0/QtWebKit/private/qwebsecurityorigin_p.h
|
||||
qt5/include/QtWebKit/QWebDatabase
|
||||
qt5/include/QtWebKit/QWebElement
|
||||
qt5/include/QtWebKit/QWebElementCollection
|
||||
qt5/include/QtWebKit/QWebFullScreenRequest
|
||||
qt5/include/QtWebKit/QWebFullScreenVideoHandler
|
||||
qt5/include/QtWebKit/QWebHapticFeedbackPlayer
|
||||
qt5/include/QtWebKit/QWebHistory
|
||||
|
@ -58,6 +33,7 @@ qt5/include/QtWebKit/QtWebKitVersion
|
|||
qt5/include/QtWebKit/qtwebkitversion.h
|
||||
qt5/include/QtWebKit/qwebdatabase.h
|
||||
qt5/include/QtWebKit/qwebelement.h
|
||||
qt5/include/QtWebKit/qwebfullscreenrequest.h
|
||||
qt5/include/QtWebKit/qwebhistory.h
|
||||
qt5/include/QtWebKit/qwebhistoryinterface.h
|
||||
qt5/include/QtWebKit/qwebkitglobal.h
|
||||
|
@ -65,10 +41,10 @@ qt5/include/QtWebKit/qwebkitplatformplugin.h
|
|||
qt5/include/QtWebKit/qwebpluginfactory.h
|
||||
qt5/include/QtWebKit/qwebsecurityorigin.h
|
||||
qt5/include/QtWebKit/qwebsettings.h
|
||||
qt5/include/QtWebKitWidgets/${PKGVERSION}/QtWebKitWidgets/private/qwebframe_p.h
|
||||
qt5/include/QtWebKitWidgets/${PKGVERSION}/QtWebKitWidgets/private/qwebinspector_p.h
|
||||
qt5/include/QtWebKitWidgets/${PKGVERSION}/QtWebKitWidgets/private/qwebpage_p.h
|
||||
qt5/include/QtWebKitWidgets/${PKGVERSION}/QtWebKitWidgets/private/qwebviewaccessible_p.h
|
||||
qt5/include/QtWebKitWidgets/5.212.0/QtWebKitWidgets/private/qwebframe_p.h
|
||||
qt5/include/QtWebKitWidgets/5.212.0/QtWebKitWidgets/private/qwebinspector_p.h
|
||||
qt5/include/QtWebKitWidgets/5.212.0/QtWebKitWidgets/private/qwebpage_p.h
|
||||
qt5/include/QtWebKitWidgets/5.212.0/QtWebKitWidgets/private/qwebviewaccessible_p.h
|
||||
qt5/include/QtWebKitWidgets/QGraphicsWebView
|
||||
qt5/include/QtWebKitWidgets/QWebFrame
|
||||
qt5/include/QtWebKitWidgets/QWebHitTestResult
|
||||
|
@ -86,36 +62,41 @@ qt5/include/QtWebKitWidgets/qwebpage.h
|
|||
qt5/include/QtWebKitWidgets/qwebview.h
|
||||
qt5/lib/cmake/Qt5WebKit/Qt5WebKitConfig.cmake
|
||||
qt5/lib/cmake/Qt5WebKit/Qt5WebKitConfigVersion.cmake
|
||||
qt5/lib/cmake/Qt5WebKit/WebKitTargets-release.cmake
|
||||
qt5/lib/cmake/Qt5WebKit/WebKitTargets.cmake
|
||||
qt5/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfig.cmake
|
||||
qt5/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsConfigVersion.cmake
|
||||
qt5/lib/libANGLE.la
|
||||
qt5/lib/libANGLE.prl
|
||||
qt5/lib/libJavaScriptCore.la
|
||||
qt5/lib/libJavaScriptCore.prl
|
||||
qt5/lib/libQt5WebKit.la
|
||||
qt5/lib/libQt5WebKit.prl
|
||||
qt5/lib/libQt5WebKitWidgets.la
|
||||
qt5/lib/libQt5WebKitWidgets.prl
|
||||
qt5/lib/libWTF.la
|
||||
qt5/lib/libWTF.prl
|
||||
qt5/lib/libWebCore.la
|
||||
qt5/lib/libWebCore.prl
|
||||
qt5/lib/libWebKit1.la
|
||||
qt5/lib/libWebKit1.prl
|
||||
qt5/lib/libWebKit2.la
|
||||
qt5/lib/libWebKit2.prl
|
||||
qt5/lib/libleveldb.la
|
||||
qt5/lib/libleveldb.prl
|
||||
qt5/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsTargets-release.cmake
|
||||
qt5/lib/cmake/Qt5WebKitWidgets/Qt5WebKitWidgetsTargets.cmake
|
||||
qt5/lib/libANGLESupport.a
|
||||
qt5/lib/libJavaScriptCore.so
|
||||
qt5/lib/libJavaScriptCore.so.5
|
||||
qt5/lib/libJavaScriptCore.so.5.212.0
|
||||
qt5/lib/libQt5WebKit.so
|
||||
qt5/lib/libQt5WebKit.so.5
|
||||
qt5/lib/libQt5WebKit.so.5.212.0
|
||||
qt5/lib/libQt5WebKitWidgets.so
|
||||
qt5/lib/libQt5WebKitWidgets.so.5
|
||||
qt5/lib/libQt5WebKitWidgets.so.5.212.0
|
||||
qt5/lib/libWTF.so
|
||||
qt5/lib/libWebCore.so
|
||||
qt5/lib/libWebCore.so.5
|
||||
qt5/lib/libWebCore.so.5.212.0
|
||||
qt5/lib/libWebKit2.so
|
||||
qt5/lib/libWebKit2.so.5
|
||||
qt5/lib/libWebKit2.so.5.212.0
|
||||
qt5/lib/libbrotli.a
|
||||
qt5/lib/libwoff2.a
|
||||
qt5/lib/pkgconfig/Qt5WebKit.pc
|
||||
qt5/lib/pkgconfig/Qt5WebKitWidgets.pc
|
||||
qt5/libexec/QtWebDatabaseProcess
|
||||
qt5/libexec/QtWebNetworkProcess
|
||||
qt5/libexec/QtWebPluginProcess
|
||||
qt5/libexec/QtWebProcess
|
||||
${PLIST.unix}qt5/libexec/QtWebPluginProcess
|
||||
qt5/mkspecs/modules/qt_lib_webkit.pri
|
||||
qt5/mkspecs/modules/qt_lib_webkit_private.pri
|
||||
qt5/mkspecs/modules/qt_lib_webkitwidgets.pri
|
||||
qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri
|
||||
qt5/qml/QtWebKit/experimental/libqmlwebkitexperimentalplugin.la
|
||||
qt5/qml/QtWebKit/experimental/libqmlwebkitexperimentalplugin.so
|
||||
qt5/qml/QtWebKit/experimental/qmldir
|
||||
qt5/qml/QtWebKit/libqmlwebkitplugin.la
|
||||
qt5/qml/QtWebKit/libqmlwebkitplugin.so
|
||||
qt5/qml/QtWebKit/plugins.qmltypes
|
||||
qt5/qml/QtWebKit/qmldir
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.32 2017/11/30 16:45:13 adam Exp $
|
||||
# $NetBSD: buildlink3.mk,v 1.33 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
BUILDLINK_TREE+= qt5-qtwebkit
|
||||
|
||||
.if !defined(QT5_QTWEBKIT_BUILDLINK3_MK)
|
||||
QT5_QTWEBKIT_BUILDLINK3_MK:=
|
||||
|
||||
BUILDLINK_API_DEPENDS.qt5-qtwebkit+= qt5-qtwebkit>=5.5.1
|
||||
BUILDLINK_ABI_DEPENDS.qt5-qtwebkit+= qt5-qtwebkit>=5.5.1nb15
|
||||
BUILDLINK_API_DEPENDS.qt5-qtwebkit+= qt5-qtwebkit>=5.8.0
|
||||
BUILDLINK_ABI_DEPENDS.qt5-qtwebkit+= qt5-qtwebkit>=5.8.0
|
||||
BUILDLINK_PKGSRCDIR.qt5-qtwebkit?= ../../x11/qt5-qtwebkit
|
||||
|
||||
BUILDLINK_INCDIRS.qt5-qtwebkit+= qt5/include
|
||||
|
|
|
@ -1,57 +1,25 @@
|
|||
$NetBSD: distinfo,v 1.10 2017/11/21 17:00:28 minskim Exp $
|
||||
$NetBSD: distinfo,v 1.11 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
SHA1 (qtwebkit-opensource-src-5.5.1.tar.xz) = e1e16f3eb48c1ce863b9ab33364e4ac178ae51a7
|
||||
RMD160 (qtwebkit-opensource-src-5.5.1.tar.xz) = 0594ec1150f7899d72f57d8ff2f108f3f75faaf9
|
||||
SHA512 (qtwebkit-opensource-src-5.5.1.tar.xz) = a44ca088fee7dbf0b10df7e1f6c914f37b31cf7c3b95156c32e5b8373a8de54013cd51cdf5b18b72f165d60c21ce55bceca86b038de68b1eb78ae0cd4bb8228a
|
||||
Size (qtwebkit-opensource-src-5.5.1.tar.xz) = 33489924 bytes
|
||||
SHA1 (patch-Source_JavaScriptCore_API_JSStringRef.cpp) = 59da586605606158d6affca8a77b1e637401a394
|
||||
SHA1 (qtwebkit-5.212.0-alpha2.tar.xz) = 6a361cc3f3b7ab1d35955bafe20fbbae61bc80c8
|
||||
RMD160 (qtwebkit-5.212.0-alpha2.tar.xz) = 33c3f7c68090fa16f72950ef85c20978432cc058
|
||||
SHA512 (qtwebkit-5.212.0-alpha2.tar.xz) = b15985aab20c5618dc1f71a0d91f02dbed993516272090a4a12990714bf4c9554ccbdcf9d6a143bf46fcc2c170f691e571114d61686fe49791f8d5c540785758
|
||||
Size (qtwebkit-5.212.0-alpha2.tar.xz) = 12456284 bytes
|
||||
SHA1 (patch-Source_JavaScriptCore_API_ObjCCallbackFunction.h) = be77c4b19f5f97c12180c1b7d3b72968364f3229
|
||||
SHA1 (patch-Source_JavaScriptCore_DerivedSources.pri) = b7a81c85257ddebd7bdff546a6d6720c9a2c5b56
|
||||
SHA1 (patch-Source_JavaScriptCore_JavaScriptCore.pri) = ccf64d0df1c61ff5c31c000636f3b64460562314
|
||||
SHA1 (patch-Source_JavaScriptCore_Target.pri) = 2635cb0b9193fcf2ad55f01099341f4e140ab19b
|
||||
SHA1 (patch-Source_JavaScriptCore_assembler_ARMAssembler.h) = a6cfdbced0bb528f47e4c0279ca03898780578cb
|
||||
SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = 2ed23192d9a4ec2c0f7b7b9a48bed664adbc7fb3
|
||||
SHA1 (patch-Source_JavaScriptCore_dfg_DFGNode.h) = cf39645a9b61299bb7b5b700a4cf2af68aa2f9f6
|
||||
SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = 09bfdb6e63b835fb50611289d4a1c50cd18c9e37
|
||||
SHA1 (patch-Source_JavaScriptCore_runtime_DatePrototype.cpp) = b87c0e9d453d4f4d2a8fc2dac077b79ba761a62a
|
||||
SHA1 (patch-Source_JavaScriptCore_tools_CodeProfiling.cpp) = da6e2627337be1d6a4692697f23381b1bc80d08a
|
||||
SHA1 (patch-Source_QtWebKit.pro) = cfa9b6a36ce63f7655a164bbc696db2c0a44d288
|
||||
SHA1 (patch-Source_ThirdParty_ANGLE_Target.pri) = 33473cbae5e2f835b0cea6cfd5fe50f031bea60c
|
||||
SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_glslang.y) = 875cfb3a98b943a78bf87e91d724d067b5bd2523
|
||||
SHA1 (patch-Source_ThirdParty_ANGLE_src_compiler_osinclude.h) = a09b19f661c17a65f733a08822199b28eb51aed9
|
||||
SHA1 (patch-Source_JavaScriptCore_assembler_ARMAssembler.h) = 7bbb0a59a0c087abaaddda08fc31aa24809acb70
|
||||
SHA1 (patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp) = 79b54cb1d03d976a0629fbd8ee9ac1881951ba10
|
||||
SHA1 (patch-Source_JavaScriptCore_dfg_DFGNode.h) = a3eba122c7226a80dacf1b762747fe0a7408b849
|
||||
SHA1 (patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp) = a5815dd5794d9ffbd49e5793198a06535ad89d3c
|
||||
SHA1 (patch-Source_JavaScriptCore_tools_CodeProfiling.cpp) = 94c139413eecb875bba98c7749bba24cfcc16632
|
||||
SHA1 (patch-Source_ThirdParty_gtest_include_gtest_internal_gtest-port.h) = 1e4b8cffbd7ec0a6130a0ec2112023bed5c0b78e
|
||||
SHA1 (patch-Source_ThirdParty_leveldb_Target.pri) = c202d901a2af5e9efdf2357c1e062f58c8db321d
|
||||
SHA1 (patch-Source_WTF_WTF.pro) = 06883057a69fb95142cf33615a800cd532528e3e
|
||||
SHA1 (patch-Source_WTF_wtf_Assertions.cpp) = 9146f5c8a44563328194470e3f1f4ec5150fbe93
|
||||
SHA1 (patch-Source_WTF_wtf_Compiler.h) = 09c6f86b65ad93775cf83280a48bb6925ed776b5
|
||||
SHA1 (patch-Source_WTF_wtf_Assertions.cpp) = 15b8ac40e49cfec78d46de634fd6a1edde2d2a96
|
||||
SHA1 (patch-Source_WTF_wtf_InlineASM.h) = 64ea54605fbe787be57f7423e33802def66d6432
|
||||
SHA1 (patch-Source_WTF_wtf_MathExtras.h) = fb5416d99b959e54cbe1276c42b19ed18c32ad85
|
||||
SHA1 (patch-Source_WTF_wtf_NumberOfCores.cpp) = 5f80234f0bc8a66b2f1b4824a8b79b402e707491
|
||||
SHA1 (patch-Source_WTF_wtf_Platform.h) = d44960e5a5d171e815f973999c29d88a785cb3d7
|
||||
SHA1 (patch-Source_WTF_wtf_RAMSize.cpp) = 1c5a9c0aaffdec25cea74b010b9bc8922593b1af
|
||||
SHA1 (patch-Source_WTF_wtf_ThreadIdentifierDataPthreads.cpp) = 249308d00b18a8b89e9787f440341e77a1927531
|
||||
SHA1 (patch-Source_WTF_wtf_Threading.h) = 92f303cb972335fc9aaf4054cf66d9b6e99c94a5
|
||||
SHA1 (patch-Source_WTF_wtf_TypeTraits.h) = 6ea04b8d8de553d7a58354f1d1a3a535b66f6353
|
||||
SHA1 (patch-Source_WTF_wtf_text_StringImpl.h) = ab4fc5bef1c01bf21e4a80da8709985dd16d8da0
|
||||
SHA1 (patch-Source_WebCore_Target.pri) = 6399c94c0b4f30fc0ce1d25c5056d7381ecb9020
|
||||
SHA1 (patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp) = 011224d015cc46571646ee148bf67758ba4a56b3
|
||||
SHA1 (patch-Source_WebCore_editing_Editor.h) = 8b566568d843c9699789e9d45a019e7f4192699a
|
||||
SHA1 (patch-Source_WebCore_page_NavigatorBase.cpp) = f596432d46cb67b5b233bf7fdf0286d94c554e5e
|
||||
SHA1 (patch-Source_WTF_wtf_MathExtras.h) = 7dac41bf3e50944e49c3e3c29d482d2c3300665d
|
||||
SHA1 (patch-Source_WTF_wtf_Platform.h) = cfffb219f1d58d937ae46440aa5395aa066669e4
|
||||
SHA1 (patch-Source_WTF_wtf_ThreadIdentifierDataPthreads.cpp) = bfa570aa20e3508c77bbaebed051821a33f36209
|
||||
SHA1 (patch-Source_WebCore_page_NavigatorBase.cpp) = e8972f4b703a9ff45ce313609d2540f89064b4ff
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_cpu_arm_filters_FELightingNEON.cpp) = dd409929936955ad31b8ec0902067e2f23c054a2
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_surfaces_GraphicsSurface.h) = d1d986afd5525143fc786a959240a72167f03352
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_surfaces_GraphicsSurfaceToken.h) = 838acb2d7ecf41e5f6989d98459d103f4268cdcf
|
||||
SHA1 (patch-Source_WebCore_platform_graphics_surfaces_mac_GraphicsSurfaceMac.cpp) = a42d4604c92ec43d11966f2a599125d6a1e9febc
|
||||
SHA1 (patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp) = 97dd7fd94afcb967bc1c65287d4ded5b34840857
|
||||
SHA1 (patch-Source_WebKit2_DerivedSources.pri) = 4147fd02d353f90a859e15d8dae70efd4dc1eeb4
|
||||
SHA1 (patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.cpp) = b83d80adef042141a9047b64f635577151c4e819
|
||||
SHA1 (patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h) = 8270ff1cc34e738e45d730c56a463e96c0a9ea11
|
||||
SHA1 (patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp) = 17a7e91683f7e336d8ec3d4b26a91d4b0a1c4e31
|
||||
SHA1 (patch-Source_WebKit2_Shared_API_c_WKString.cpp) = dde4de25714ca66a53f0464f774b330b97a01150
|
||||
SHA1 (patch-Source_WebKit2_Target.pri) = ed1b26769f666c1aeb45480666af1f5a0c83e489
|
||||
SHA1 (patch-Source_WebKit_WebKit1.pro) = 421885279866c19172eb93597e60c9940128f8de
|
||||
SHA1 (patch-Source_WebKit_qt_examples_platformplugin_platformplugin.pro) = 40b2669f06d3fe964f86252e3e16eabe6d8ed508
|
||||
SHA1 (patch-Source_api.pri) = 116d15c6d2554c5bd0865de972fb3f9101cb4b3c
|
||||
SHA1 (patch-Tools_Scripts_webkitdirs.pm) = 60b3be277872ac7e96a16649598ac0b937d7b91f
|
||||
SHA1 (patch-Tools_WebKitTestRunner_InjectedBundle_Target.pri) = 336191aa4014005f13698ccdd459ae8e935e0588
|
||||
SHA1 (patch-Tools_qmake_mkspecs_features_functions.prf) = 87053c94e52d172f7b1b81cedb5de57ca7ddfb87
|
||||
SHA1 (patch-Tools_qmake_mkspecs_features_production__build.prf) = 4c20517f1d3266c5169e822526374c429ba430d4
|
||||
SHA1 (patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp) = d18013d0e07d7ad7e9d84cb6ef2d418d9bba4c7e
|
||||
SHA1 (patch-Source_WebKit_PlatformQt.cmake) = 5dfde3b2e3092ffcd11fc6746bed1767b2c3b692
|
||||
SHA1 (patch-Source_cmake_OptionsQt.cmake) = 2527e56468709bd9fd0a98bf754ac9c692cac4dc
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_API_JSStringRef.cpp,v 1.1 2017/04/26 10:27:43 wiz Exp $
|
||||
|
||||
Fix build with icu-59.
|
||||
|
||||
--- Source/JavaScriptCore/API/JSStringRef.cpp.orig 2015-10-13 04:37:10.000000000 +0000
|
||||
+++ Source/JavaScriptCore/API/JSStringRef.cpp
|
||||
@@ -37,7 +37,7 @@ using namespace WTF::Unicode;
|
||||
JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars)
|
||||
{
|
||||
initializeThreading();
|
||||
- return OpaqueJSString::create(chars, numChars).leakRef();
|
||||
+ return OpaqueJSString::create((const UChar*)chars, numChars).leakRef();
|
||||
}
|
||||
|
||||
JSStringRef JSStringCreateWithUTF8CString(const char* string)
|
||||
@@ -62,7 +62,7 @@ JSStringRef JSStringCreateWithUTF8CStrin
|
||||
JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars)
|
||||
{
|
||||
initializeThreading();
|
||||
- return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef();
|
||||
+ return OpaqueJSString::create(StringImpl::createWithoutCopying((const UChar*)chars, numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef();
|
||||
}
|
||||
|
||||
JSStringRef JSStringRetain(JSStringRef string)
|
||||
@@ -83,7 +83,7 @@ size_t JSStringGetLength(JSStringRef str
|
||||
|
||||
const JSChar* JSStringGetCharactersPtr(JSStringRef string)
|
||||
{
|
||||
- return string->characters();
|
||||
+ return (const JSChar *)string->characters();
|
||||
}
|
||||
|
||||
size_t JSStringGetMaximumUTF8CStringSize(JSStringRef string)
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_DerivedSources.pri,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Make conditional for Unix
|
||||
|
||||
--- Source/JavaScriptCore/DerivedSources.pri.orig 2013-11-27 01:01:48.000000000 +0000
|
||||
+++ Source/JavaScriptCore/DerivedSources.pri
|
||||
@@ -108,7 +108,7 @@ llint.depends = $$LLINT_DEPENDENCY
|
||||
llint.commands = ruby $$llint.script $$LLINT_ASSEMBLER ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
|
||||
GENERATORS += llint
|
||||
|
||||
-linux-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
|
||||
+unix-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
|
||||
# GENERATOR: disassembler
|
||||
disassembler.output = udis86_itab.c
|
||||
disassembler.input = DISASSEMBLER_FILES
|
|
@ -1,14 +0,0 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_JavaScriptCore.pri,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Make conditional for Unix
|
||||
|
||||
--- Source/JavaScriptCore/JavaScriptCore.pri.orig 2013-11-27 01:01:48.000000000 +0000
|
||||
+++ Source/JavaScriptCore/JavaScriptCore.pri
|
||||
@@ -41,6 +41,6 @@ wince* {
|
||||
INCLUDEPATH += $$SOURCE_DIR/os-win32
|
||||
}
|
||||
|
||||
-linux-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
|
||||
+unix-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
|
||||
INCLUDEPATH += $$SOURCE_DIR/disassembler/udis86
|
||||
}
|
|
@ -1,29 +0,0 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_Target.pri,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Libtoolized
|
||||
* Build as shared library
|
||||
* Install libJavaScriptCore library
|
||||
* Make conditionals for Unix
|
||||
|
||||
--- Source/JavaScriptCore/Target.pri.orig 2014-09-11 10:48:22.000000000 +0000
|
||||
+++ Source/JavaScriptCore/Target.pri
|
||||
@@ -13,7 +13,9 @@ WEBKIT += wtf
|
||||
QT += core
|
||||
QT -= gui
|
||||
|
||||
-CONFIG += staticlib optimize_full
|
||||
+CONFIG += optimize_full
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
# Rules when JIT enabled (not disabled)
|
||||
!contains(DEFINES, ENABLE_JIT=0) {
|
||||
@@ -326,7 +328,7 @@ SOURCES += \
|
||||
tools/CodeProfiling.cpp \
|
||||
yarr/YarrJIT.cpp \
|
||||
|
||||
-linux-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
|
||||
+unix-*:if(isEqual(QT_ARCH, "i386")|isEqual(QT_ARCH, "x86_64")) {
|
||||
SOURCES += \
|
||||
disassembler/UDis86Disassembler.cpp \
|
||||
disassembler/udis86/udis86.c \
|
|
@ -1,8 +1,8 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_assembler_ARMAssembler.h,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
$NetBSD: patch-Source_JavaScriptCore_assembler_ARMAssembler.h,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2013-11-27 01:01:49.000000000 +0000
|
||||
--- Source/JavaScriptCore/assembler/ARMAssembler.h.orig 2017-06-04 20:16:05.000000000 +0000
|
||||
+++ Source/JavaScriptCore/assembler/ARMAssembler.h
|
||||
@@ -27,6 +27,10 @@
|
||||
#ifndef ARMAssembler_h
|
||||
|
@ -15,10 +15,10 @@ $NetBSD: patch-Source_JavaScriptCore_assembler_ARMAssembler.h,v 1.1 2014/12/30 1
|
|||
#if ENABLE(ASSEMBLER) && CPU(ARM_TRADITIONAL)
|
||||
|
||||
#include "AssemblerBufferWithConstantPool.h"
|
||||
@@ -1069,6 +1073,11 @@ namespace JSC {
|
||||
UNUSED_PARAM(size);
|
||||
#elif OS(QNX)
|
||||
msync(code, size, MS_INVALIDATE_ICACHE);
|
||||
@@ -1128,6 +1132,11 @@ namespace JSC {
|
||||
linuxPageFlush(current, current + page);
|
||||
|
||||
linuxPageFlush(current, end);
|
||||
+#elif OS(NETBSD)
|
||||
+ struct arm_sync_icache_args args;
|
||||
+ args.addr = reinterpret_cast<uintptr_t>(code);
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
$NetBSD: patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/JavaScriptCore/assembler/MacroAssemblerARM.cpp.orig 2014-09-11 10:48:22.000000000 +0000
|
||||
--- Source/JavaScriptCore/assembler/MacroAssemblerARM.cpp.orig 2017-06-04 20:16:05.000000000 +0000
|
||||
+++ Source/JavaScriptCore/assembler/MacroAssemblerARM.cpp
|
||||
@@ -43,6 +43,15 @@
|
||||
# endif
|
||||
@@ -42,6 +42,15 @@
|
||||
#include <asm/hwcap.h>
|
||||
#endif
|
||||
|
||||
+#if OS(NETBSD)
|
||||
|
@ -20,9 +20,9 @@ $NetBSD: patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp,v 1.1 2014/
|
|||
namespace JSC {
|
||||
|
||||
static bool isVFPPresent()
|
||||
@@ -61,6 +70,16 @@ static bool isVFPPresent()
|
||||
@@ -60,6 +69,16 @@ static bool isVFPPresent()
|
||||
}
|
||||
#endif
|
||||
#endif // OS(LINUX)
|
||||
|
||||
+#if OS(NETBSD)
|
||||
+ size_t len;
|
||||
|
@ -34,6 +34,6 @@ $NetBSD: patch-Source_JavaScriptCore_assembler_MacroAssemblerARM.cpp,v 1.1 2014/
|
|||
+ }
|
||||
+#endif
|
||||
+
|
||||
#if (COMPILER(RVCT) && defined(__TARGET_FPU_VFP)) || (COMPILER(GCC) && defined(__VFP_FP__))
|
||||
#if (COMPILER(GCC_OR_CLANG) && defined(__VFP_FP__))
|
||||
return true;
|
||||
#else
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_dfg_DFGNode.h,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
$NetBSD: patch-Source_JavaScriptCore_dfg_DFGNode.h,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/JavaScriptCore/dfg/DFGNode.h.orig 2013-11-27 01:01:48.000000000 +0000
|
||||
--- Source/JavaScriptCore/dfg/DFGNode.h.orig 2017-06-04 20:16:05.000000000 +0000
|
||||
+++ Source/JavaScriptCore/dfg/DFGNode.h
|
||||
@@ -73,7 +73,7 @@ struct NewArrayBufferData {
|
||||
struct OpInfo {
|
||||
@@ -226,7 +226,7 @@ struct OpInfo {
|
||||
OpInfo() : m_value(0) { }
|
||||
explicit OpInfo(int32_t value) : m_value(static_cast<uintptr_t>(value)) { }
|
||||
explicit OpInfo(uint32_t value) : m_value(static_cast<uintptr_t>(value)) { }
|
||||
-#if OS(DARWIN) || USE(JSVALUE64)
|
||||
|
|
|
@ -1,90 +1,78 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
$NetBSD: patch-Source_JavaScriptCore_heap_MachineStackMarker.cpp,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add Solaris/SunOS support
|
||||
Support NetBSD
|
||||
|
||||
--- Source/JavaScriptCore/heap/MachineStackMarker.cpp.orig 2013-11-27 01:01:49.000000000 +0000
|
||||
XXXX - currently only did CPU(X86_64) and guessed those values.
|
||||
rest are currently jsut copied from FreeBSD
|
||||
|
||||
--- Source/JavaScriptCore/heap/MachineStackMarker.cpp.orig 2017-06-04 20:16:05.000000000 +0000
|
||||
+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp
|
||||
@@ -20,6 +20,9 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
+#if OS(SOLARIS)
|
||||
+#undef _FILE_OFFSET_BITS
|
||||
+#endif
|
||||
#include "MachineStackMarker.h"
|
||||
|
||||
#include "ConservativeRoots.h"
|
||||
@@ -49,6 +52,10 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#if OS(SOLARIS)
|
||||
+#include <sys/types.h>
|
||||
+#include <sys/stat.h>
|
||||
+#include <fcntl.h>
|
||||
+#include <procfs.h>
|
||||
#include <thread.h>
|
||||
#else
|
||||
#include <pthread.h>
|
||||
@@ -317,6 +324,7 @@ typedef pthread_attr_t PlatformThreadReg
|
||||
#error Need a thread register struct for this platform
|
||||
@@ -665,6 +665,22 @@ void* MachineThreads::Thread::Registers:
|
||||
#error Unknown Architecture
|
||||
#endif
|
||||
|
||||
+#if !OS(SOLARIS)
|
||||
static size_t getPlatformThreadRegisters(const PlatformThread& platformThread, PlatformThreadRegisters& regs)
|
||||
{
|
||||
#if OS(DARWIN)
|
||||
@@ -383,6 +391,7 @@ static size_t getPlatformThreadRegisters
|
||||
#error Need a way to get thread registers on this platform
|
||||
#endif
|
||||
}
|
||||
+#endif
|
||||
|
||||
static inline void* otherThreadStackPointer(const PlatformThreadRegisters& regs)
|
||||
{
|
||||
@@ -446,6 +455,7 @@ static inline void* otherThreadStackPoin
|
||||
#endif
|
||||
}
|
||||
|
||||
+#if !OS(SOLARIS)
|
||||
static void freePlatformThreadRegisters(PlatformThreadRegisters& regs)
|
||||
{
|
||||
#if USE(PTHREADS) && !OS(WINDOWS) && !OS(DARWIN) && !OS(QNX)
|
||||
@@ -454,20 +464,36 @@ static void freePlatformThreadRegisters(
|
||||
UNUSED_PARAM(regs);
|
||||
#endif
|
||||
}
|
||||
+#endif
|
||||
|
||||
void MachineThreads::gatherFromOtherThread(ConservativeRoots& conservativeRoots, Thread* thread)
|
||||
{
|
||||
+#if OS(SOLARIS)
|
||||
+ struct lwpstatus lwp;
|
||||
+ char procfile[64];
|
||||
+ int fd;
|
||||
+ snprintf(procfile, 64, "/proc/self/lwp/%u/lwpstatus", thread->platformThread);
|
||||
+ fd = open(procfile, O_RDONLY, 0);
|
||||
+ if (fd == -1) {
|
||||
+ fprintf(stderr, "%s: %s\n", procfile, strerror(errno));
|
||||
+ abort();
|
||||
+ }
|
||||
+ pread(fd, &lwp, sizeof(lwp), 0);
|
||||
+ close(fd);
|
||||
+ void* stackPointer = (void*)lwp.pr_reg[REG_SP];
|
||||
+#else
|
||||
PlatformThreadRegisters regs;
|
||||
size_t regSize = getPlatformThreadRegisters(thread->platformThread, regs);
|
||||
|
||||
conservativeRoots.add(static_cast<void*>(®s), static_cast<void*>(reinterpret_cast<char*>(®s) + regSize));
|
||||
|
||||
void* stackPointer = otherThreadStackPointer(regs);
|
||||
+#elif OS(NETBSD)
|
||||
+
|
||||
+ freePlatformThreadRegisters(regs);
|
||||
+#if CPU(X86)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_ebp);
|
||||
+#elif CPU(X86_64)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.__gregs[_REG_RBP]);
|
||||
+#elif CPU(ARM)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.__gregs[_REG_FP]);
|
||||
+#elif CPU(ARM64)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_gpregs.gp_x[29]);
|
||||
+#elif CPU(MIPS)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_regs[30]);
|
||||
+#else
|
||||
+#error Unknown Architecture
|
||||
+#endif
|
||||
void* stackBase = thread->stackBase;
|
||||
swapIfBackwards(stackPointer, stackBase);
|
||||
conservativeRoots.add(stackPointer, stackBase);
|
||||
-
|
||||
- freePlatformThreadRegisters(regs);
|
||||
}
|
||||
+
|
||||
#elif defined(__GLIBC__)
|
||||
|
||||
void MachineThreads::gatherConservativeRoots(ConservativeRoots& conservativeRoots, void* stackCurrent)
|
||||
// The following sequence depends on glibc's sys/ucontext.h.
|
||||
@@ -747,6 +763,22 @@ void* MachineThreads::Thread::Registers:
|
||||
#error Unknown Architecture
|
||||
#endif
|
||||
|
||||
+#elif OS(NETBSD)
|
||||
+
|
||||
+#if CPU(X86)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_eip);
|
||||
+#elif CPU(X86_64)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.__gregs[_REG_RIP]);
|
||||
+#elif CPU(ARM)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.__gregs[_REG_PC]);
|
||||
+#elif CPU(ARM64)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_gpregs.gp_elr);
|
||||
+#elif CPU(MIPS)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_pc);
|
||||
+#else
|
||||
+#error Unknown Architecture
|
||||
+#endif
|
||||
+
|
||||
#elif defined(__GLIBC__)
|
||||
|
||||
// The following sequence depends on glibc's sys/ucontext.h.
|
||||
@@ -838,6 +870,22 @@ void* MachineThreads::Thread::Registers:
|
||||
#error Unknown Architecture
|
||||
#endif
|
||||
|
||||
+#elif OS(NETBSD)
|
||||
+
|
||||
+#if CPU(X86)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_esi);
|
||||
+#elif CPU(X86_64)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.__gregs[_REG_R8]);
|
||||
+#elif CPU(ARM)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.__gregs[_REG_R8]);
|
||||
+#elif CPU(ARM64)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_gpregs.gp_x[4]);
|
||||
+#elif CPU(MIPS)
|
||||
+ return reinterpret_cast<void*>((uintptr_t) regs.machineContext.mc_regs[12]);
|
||||
+#else
|
||||
+#error Unknown Architecture
|
||||
+#endif
|
||||
+
|
||||
#elif defined(__GLIBC__)
|
||||
|
||||
// The following sequence depends on glibc's sys/ucontext.h.
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_runtime_DatePrototype.cpp,v 1.1 2017/11/21 17:00:28 minskim Exp $
|
||||
|
||||
Cast ICU's UChar (char16_t) to pass as UniChar.
|
||||
|
||||
--- Source/JavaScriptCore/runtime/DatePrototype.cpp.orig 2015-10-13 04:37:10.000000000 +0000
|
||||
+++ Source/JavaScriptCore/runtime/DatePrototype.cpp
|
||||
@@ -167,7 +167,7 @@ static JSCell* formatLocaleDate(ExecStat
|
||||
CFRelease(locale);
|
||||
|
||||
if (useCustomFormat) {
|
||||
- CFStringRef customFormatCFString = CFStringCreateWithCharacters(0, customFormatString.characters(), customFormatString.length());
|
||||
+ CFStringRef customFormatCFString = CFStringCreateWithCharacters(0, (const UniChar*)customFormatString.characters(), customFormatString.length());
|
||||
CFDateFormatterSetFormat(formatter, customFormatCFString);
|
||||
CFRelease(customFormatCFString);
|
||||
}
|
||||
@@ -184,7 +184,7 @@ static JSCell* formatLocaleDate(ExecStat
|
||||
ASSERT(length <= bufferLength);
|
||||
if (length > bufferLength)
|
||||
length = bufferLength;
|
||||
- CFStringGetCharacters(string, CFRangeMake(0, length), buffer);
|
||||
+ CFStringGetCharacters(string, CFRangeMake(0, length), (UniChar*)buffer);
|
||||
|
||||
CFRelease(string);
|
||||
|
|
@ -1,15 +1,15 @@
|
|||
$NetBSD: patch-Source_JavaScriptCore_tools_CodeProfiling.cpp,v 1.3 2016/03/18 07:37:38 dbj Exp $
|
||||
$NetBSD: patch-Source_JavaScriptCore_tools_CodeProfiling.cpp,v 1.4 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/JavaScriptCore/tools/CodeProfiling.cpp.orig 2015-10-13 04:37:12.000000000 +0000
|
||||
--- Source/JavaScriptCore/tools/CodeProfiling.cpp.orig 2017-06-04 20:16:06.000000000 +0000
|
||||
+++ Source/JavaScriptCore/tools/CodeProfiling.cpp
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
-#if OS(LINUX)
|
||||
+#if OS(LINUX) || OS(NETBSD)
|
||||
-#if OS(LINUX) || OS(DARWIN)
|
||||
+#if OS(LINUX) || OS(DARWIN) || OS(NETBSD)
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
|
@ -17,8 +17,8 @@ $NetBSD: patch-Source_JavaScriptCore_tools_CodeProfiling.cpp,v 1.3 2016/03/18 07
|
|||
#pragma clang diagnostic ignored "-Wmissing-noreturn"
|
||||
#endif
|
||||
|
||||
-#if (PLATFORM(MAC) && CPU(X86_64)) || (OS(LINUX) && CPU(X86) && !OS(ANDROID))
|
||||
+#if (PLATFORM(MAC) && CPU(X86_64)) || ((OS(LINUX) || OS(NETBSD)) && CPU(X86) && !OS(ANDROID))
|
||||
-#if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || (OS(LINUX) && CPU(X86))
|
||||
+#if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || ((OS(LINUX) || OS(NETBSD)) && CPU(X86))
|
||||
// Helper function to start & stop the timer.
|
||||
// Presently we're using the wall-clock timer, since this seems to give the best results.
|
||||
static void setProfileTimer(unsigned usec)
|
||||
|
@ -36,12 +36,12 @@ $NetBSD: patch-Source_JavaScriptCore_tools_CodeProfiling.cpp,v 1.3 2016/03/18 07
|
|||
#endif
|
||||
|
||||
// Callback triggered when the timer is fired.
|
||||
@@ -143,7 +150,7 @@ void CodeProfiling::begin(const SourceCo
|
||||
@@ -141,7 +148,7 @@ void CodeProfiling::begin(const SourceCo
|
||||
if (alreadyProfiling)
|
||||
return;
|
||||
|
||||
-#if (PLATFORM(MAC) && CPU(X86_64)) || (OS(LINUX) && CPU(X86) && !OS(ANDROID))
|
||||
+#if (PLATFORM(MAC) && CPU(X86_64)) || ((OS(LINUX) || OS(NETBSD)) && CPU(X86) && !OS(ANDROID))
|
||||
-#if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || (OS(LINUX) && CPU(X86))
|
||||
+#if (OS(DARWIN) && !PLATFORM(EFL) && !PLATFORM(GTK) && CPU(X86_64)) || ((OS(LINUX) || OS(NETBSD)) && CPU(X86))
|
||||
// Regsiter a signal handler & itimer.
|
||||
struct sigaction action;
|
||||
action.sa_sigaction = reinterpret_cast<void (*)(int, siginfo_t *, void *)>(profilingTimer);
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
$NetBSD: patch-Source_QtWebKit.pro,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Make all libraries as shared
|
||||
* Do not build examples
|
||||
|
||||
--- Source/QtWebKit.pro.orig 2014-09-11 10:48:24.000000000 +0000
|
||||
+++ Source/QtWebKit.pro
|
||||
@@ -5,7 +5,7 @@
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
TEMPLATE = subdirs
|
||||
-CONFIG += ordered
|
||||
+CONFIG += ordered force_static_libs_as_shared
|
||||
|
||||
api.file = api.pri
|
||||
SUBDIRS += api
|
||||
@@ -39,8 +39,4 @@ build?(webkit1) {
|
||||
SUBDIRS += tests
|
||||
}
|
||||
|
||||
- examples.file = WebKit/qt/examples/examples.pro
|
||||
- examples.CONFIG += no_default_target
|
||||
- examples.makefile = Makefile
|
||||
- SUBDIRS += examples
|
||||
}
|
|
@ -1,19 +0,0 @@
|
|||
$NetBSD: patch-Source_ThirdParty_ANGLE_Target.pri,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Libtoolized
|
||||
* Install libANGLE library
|
||||
|
||||
--- Source/ThirdParty/ANGLE/Target.pri.orig 2013-11-27 01:01:50.000000000 +0000
|
||||
+++ Source/ThirdParty/ANGLE/Target.pri
|
||||
@@ -9,7 +9,10 @@ TARGET = ANGLE
|
||||
|
||||
include(ANGLE.pri)
|
||||
|
||||
-CONFIG += staticlib
|
||||
+#CONFIG += staticlib
|
||||
+
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
INCLUDEPATH += \
|
||||
$$SOURCE_DIR/src \
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_glslang.y,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Fix build with bison 3
|
||||
|
||||
--- Source/ThirdParty/ANGLE/src/compiler/glslang.y.orig 2013-11-27 01:01:50.000000000 +0000
|
||||
+++ Source/ThirdParty/ANGLE/src/compiler/glslang.y
|
||||
@@ -47,7 +47,7 @@ WHICH GENERATES THE GLSL ES PARSER (glsl
|
||||
%pure-parser
|
||||
%parse-param {TParseContext* context}
|
||||
%locations
|
||||
-%lex-param {YYLEX_PARAM}
|
||||
+%lex-param {TParseContext* context}
|
||||
|
||||
%union {
|
||||
#define YYLTYPE TSourceLoc
|
|
@ -1,16 +0,0 @@
|
|||
$NetBSD: patch-Source_ThirdParty_ANGLE_src_compiler_osinclude.h,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
* Add DragonFly support
|
||||
|
||||
--- Source/ThirdParty/ANGLE/src/compiler/osinclude.h.orig 2013-11-27 01:01:50.000000000 +0000
|
||||
+++ Source/ThirdParty/ANGLE/src/compiler/osinclude.h
|
||||
@@ -18,7 +18,7 @@
|
||||
defined(__FreeBSD__) || defined(__OpenBSD__) || \
|
||||
defined(__sun) || defined(ANDROID) || \
|
||||
defined(__GLIBC__) || defined(__GNU__) || \
|
||||
- defined(__QNX__)
|
||||
+ defined(__QNX__) || defined(__NetBSD__) || defined(__DragonFly__)
|
||||
#define ANGLE_OS_POSIX
|
||||
#else
|
||||
#error Unsupported platform.
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-Source_ThirdParty_leveldb_Target.pri,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
Build as shared library.
|
||||
|
||||
--- Source/ThirdParty/leveldb/Target.pri.orig 2014-11-14 11:29:30.000000000 +0000
|
||||
+++ Source/ThirdParty/leveldb/Target.pri
|
||||
@@ -9,7 +9,9 @@ TARGET = leveldb
|
||||
|
||||
include(leveldb.pri)
|
||||
|
||||
-CONFIG += staticlib
|
||||
+#CONFIG += staticlib
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
HEADERS += \
|
||||
db/builder.h \
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_WTF.pro,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Install libWTF shared library
|
||||
|
||||
--- Source/WTF/WTF.pro.orig 2014-09-11 10:48:11.000000000 +0000
|
||||
+++ Source/WTF/WTF.pro
|
||||
@@ -8,7 +8,9 @@ TARGET = WTF
|
||||
|
||||
include(WTF.pri)
|
||||
|
||||
-CONFIG += staticlib optimize_full
|
||||
+CONFIG += optimize_full
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
VPATH += $$PWD/wtf
|
||||
|
|
@ -1,28 +1,28 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_Assertions.cpp,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
$NetBSD: patch-Source_WTF_wtf_Assertions.cpp,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/WTF/wtf/Assertions.cpp.orig 2013-11-27 01:01:21.000000000 +0000
|
||||
--- Source/WTF/wtf/Assertions.cpp.orig 2017-06-04 20:16:06.000000000 +0000
|
||||
+++ Source/WTF/wtf/Assertions.cpp
|
||||
@@ -61,7 +61,7 @@
|
||||
#include <windows.h>
|
||||
@@ -68,7 +68,7 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
-#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
+#if (OS(DARWIN) || OS(NETBSD) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
-#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
|
||||
+#if OS(DARWIN) || OS(NETBSD) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
|
||||
#include <cxxabi.h>
|
||||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
@@ -245,7 +245,7 @@ void WTFReportArgumentAssertionFailure(c
|
||||
@@ -225,7 +225,7 @@ void WTFReportArgumentAssertionFailure(c
|
||||
|
||||
void WTFGetBacktrace(void** stack, int* size)
|
||||
{
|
||||
-#if (OS(DARWIN) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
+#if (OS(DARWIN) || (OS_NETBSD) || (OS(LINUX) && !defined(__UCLIBC__))) && !OS(ANDROID)
|
||||
-#if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
|
||||
+#if OS(DARWIN) || OS(NETBSD) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__))
|
||||
*size = backtrace(stack, *size);
|
||||
#elif OS(WINDOWS) && !OS(WINCE)
|
||||
#elif OS(WINDOWS)
|
||||
// The CaptureStackBackTrace function is available in XP, but it is not defined
|
||||
@@ -279,7 +279,7 @@ void WTFReportBacktrace()
|
||||
@@ -259,7 +259,7 @@ void WTFReportBacktrace()
|
||||
WTFPrintBacktrace(samples + framesToSkip, frames - framesToSkip);
|
||||
}
|
||||
|
||||
|
@ -30,4 +30,4 @@ $NetBSD: patch-Source_WTF_wtf_Assertions.cpp,v 1.1 2014/12/30 17:23:47 adam Exp
|
|||
+#if OS(DARWIN) || OS(LINUX) || OS(NETBSD)
|
||||
# if PLATFORM(QT) || PLATFORM(GTK)
|
||||
# if defined(__GLIBC__) && !defined(__UCLIBC__)
|
||||
# define WTF_USE_BACKTRACE_SYMBOLS 1
|
||||
# define USE_BACKTRACE_SYMBOLS 1
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_Compiler.h,v 1.1 2017/04/26 10:27:43 wiz Exp $
|
||||
|
||||
Fix build with icu-59.
|
||||
https://bugreports.qt.io/browse/QTBUG-35971
|
||||
|
||||
--- Source/WTF/wtf/Compiler.h.orig 2015-10-13 04:37:08.000000000 +0000
|
||||
+++ Source/WTF/wtf/Compiler.h
|
||||
@@ -61,6 +61,7 @@
|
||||
#define WTF_COMPILER_SUPPORTS_HAS_TRIVIAL_DESTRUCTOR __has_feature(has_trivial_destructor)
|
||||
#define WTF_COMPILER_SUPPORTS_CXX_STRONG_ENUMS __has_feature(cxx_strong_enums)
|
||||
#define WTF_COMPILER_SUPPORTS_CXX_REFERENCE_QUALIFIED_FUNCTIONS __has_feature(cxx_reference_qualified_functions)
|
||||
+#define WTF_COMPILER_SUPPORTS_CXX_NEW_CHAR_TYPES !defined(_LIBCPP_HAS_NO_UNICODE_CHARS)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -142,6 +143,7 @@
|
||||
#define WTF_COMPILER_SUPPORTS_CXX_DELETED_FUNCTIONS 1
|
||||
#endif
|
||||
#if GCC_VERSION_AT_LEAST(4, 5, 0)
|
||||
+#define WTF_COMPILER_SUPPORTS_CXX_NEW_CHAR_TYPES 1
|
||||
#define WTF_COMPILER_SUPPORTS_CXX_EXPLICIT_CONVERSIONS 1
|
||||
#endif
|
||||
#if GCC_VERSION_AT_LEAST(4, 6, 0)
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_MathExtras.h,v 1.1 2016/07/22 10:14:17 jperkin Exp $
|
||||
$NetBSD: patch-Source_WTF_wtf_MathExtras.h,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
Fix SunOS build.
|
||||
|
||||
--- Source/WTF/wtf/MathExtras.h.orig 2015-10-13 04:37:09.000000000 +0000
|
||||
--- Source/WTF/wtf/MathExtras.h.orig 2017-06-04 20:16:06.000000000 +0000
|
||||
+++ Source/WTF/wtf/MathExtras.h
|
||||
@@ -88,7 +88,7 @@ inline double wtf_ceil(double x) { retur
|
||||
|
||||
@@ -75,7 +75,7 @@ const double sqrtOfTwoDouble = M_SQRT2;
|
||||
const float sqrtOfTwoFloat = static_cast<float>(M_SQRT2);
|
||||
#endif
|
||||
|
||||
-#if OS(SOLARIS)
|
||||
|
|
|
@ -1,32 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_NumberOfCores.cpp,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/WTF/wtf/NumberOfCores.cpp.orig 2013-12-08 17:09:59.000000000 +0000
|
||||
+++ Source/WTF/wtf/NumberOfCores.cpp
|
||||
@@ -32,6 +32,7 @@
|
||||
// data types defined in the former. See sysctl(3) and style(9).
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
+#include <unistd.h>
|
||||
#elif OS(LINUX) || OS(AIX) || OS(SOLARIS)
|
||||
#include <unistd.h>
|
||||
#elif OS(WINDOWS)
|
||||
@@ -50,7 +51,7 @@ int numberOfProcessorCores()
|
||||
if (s_numberOfCores > 0)
|
||||
return s_numberOfCores;
|
||||
|
||||
-#if OS(DARWIN) || OS(OPENBSD) || OS(NETBSD) || OS(FREEBSD)
|
||||
+#if OS(DARWIN) || OS(OPENBSD) || OS(FREEBSD)
|
||||
unsigned result;
|
||||
size_t length = sizeof(result);
|
||||
int name[] = {
|
||||
@@ -60,7 +61,7 @@ int numberOfProcessorCores()
|
||||
int sysctlResult = sysctl(name, sizeof(name) / sizeof(int), &result, &length, 0, 0);
|
||||
|
||||
s_numberOfCores = sysctlResult < 0 ? defaultIfUnavailable : result;
|
||||
-#elif OS(LINUX) || OS(AIX) || OS(SOLARIS)
|
||||
+#elif OS(LINUX) || OS(AIX) || OS(SOLARIS) || OS(NETBSD)
|
||||
long sysconfResult = sysconf(_SC_NPROCESSORS_ONLN);
|
||||
|
||||
s_numberOfCores = sysconfResult < 0 ? defaultIfUnavailable : static_cast<int>(sysconfResult);
|
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.2 2015/08/30 09:56:45 markd Exp $
|
||||
$NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.3 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Disable JIT support for NetBSD, fix segfault of qtwebkit consumers
|
||||
* Use system's malloc for NetBSD, do not use fastmalloc from qt5,
|
||||
|
@ -6,7 +6,8 @@ $NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.2 2015/08/30 09:56:45 markd Exp $
|
|||
|
||||
* Disable DISASSEMBLER on Linux. Unresolved symbols as not building
|
||||
UDis86Disassembler.cpp for some reason.
|
||||
--- Source/WTF/wtf/Platform.h.orig 2013-11-27 01:01:21.000000000 +0000
|
||||
|
||||
--- Source/WTF/wtf/Platform.h.orig 2017-06-04 20:16:06.000000000 +0000
|
||||
+++ Source/WTF/wtf/Platform.h
|
||||
@@ -36,6 +36,9 @@
|
||||
macros, policy decision macros, and top-level port definitions. ==== */
|
||||
|
@ -18,26 +19,27 @@ $NetBSD: patch-Source_WTF_wtf_Platform.h,v 1.2 2015/08/30 09:56:45 markd Exp $
|
|||
|
||||
/* ==== Platform adaptation macros: these describe properties of the target environment. ==== */
|
||||
|
||||
@@ -694,6 +697,11 @@
|
||||
#endif
|
||||
@@ -691,6 +694,12 @@
|
||||
#define USE_SYSTEM_MALLOC 1
|
||||
#endif
|
||||
|
||||
+/* Workaround an issue with fastMalloc on NetBSD */
|
||||
+#if OS(NETBSD)
|
||||
+#define USE_SYSTEM_MALLOC 1
|
||||
+#define ENABLE_ASSEMBLER 1
|
||||
+#endif
|
||||
+
|
||||
#if PLATFORM(EFL)
|
||||
#define ENABLE_GLOBAL_FASTMALLOC_NEW 0
|
||||
#endif
|
||||
@@ -804,6 +812,10 @@
|
||||
#define WTF_USE_ARMV7_DISASSEMBLER 1
|
||||
#define ENABLE_DEBUG_WITH_BREAKPOINT 0
|
||||
#define ENABLE_SAMPLING_COUNTERS 0
|
||||
#define ENABLE_SAMPLING_FLAGS 0
|
||||
@@ -746,6 +754,10 @@
|
||||
#define USE_UDIS86 1
|
||||
#endif
|
||||
|
||||
+#if OS(LINUX)
|
||||
+#define ENABLE_DISASSEMBLER 0
|
||||
+#endif
|
||||
+
|
||||
#if !defined(ENABLE_DISASSEMBLER) && (USE(UDIS86) || USE(ARMV7_DISASSEMBLER))
|
||||
#if !defined(ENABLE_DISASSEMBLER) && USE(UDIS86)
|
||||
#define ENABLE_DISASSEMBLER 1
|
||||
#endif
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_RAMSize.cpp,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/WTF/wtf/RAMSize.cpp.orig 2013-11-27 01:01:20.000000000 +0000
|
||||
+++ Source/WTF/wtf/RAMSize.cpp
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "RAMSize.h"
|
||||
|
||||
#include "StdLibExtras.h"
|
||||
-#if OS(DARWIN)
|
||||
+#if OS(DARWIN) || OS(NETBSD)
|
||||
#include <sys/param.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
@@ -45,13 +45,17 @@ static const size_t ramSizeGuess = 128 *
|
||||
|
||||
static size_t computeRAMSize()
|
||||
{
|
||||
-#if OS(DARWIN)
|
||||
+#if OS(DARWIN) || OS(NETBSD)
|
||||
int mib[2];
|
||||
uint64_t ramSize;
|
||||
size_t length;
|
||||
|
||||
mib[0] = CTL_HW;
|
||||
+#if OS(DARWIN)
|
||||
mib[1] = HW_MEMSIZE;
|
||||
+#else
|
||||
+ mib[1] = HW_PHYSMEM64;
|
||||
+#endif
|
||||
length = sizeof(int64_t);
|
||||
int sysctlResult = sysctl(mib, 2, &ramSize, &length, 0, 0);
|
||||
if (sysctlResult == -1)
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_ThreadIdentifierDataPthreads.cpp,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
$NetBSD: patch-Source_WTF_wtf_ThreadIdentifierDataPthreads.cpp,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp.orig 2013-11-27 01:01:20.000000000 +0000
|
||||
--- Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp.orig 2017-06-04 20:16:06.000000000 +0000
|
||||
+++ Source/WTF/wtf/ThreadIdentifierDataPthreads.cpp
|
||||
@@ -39,6 +39,12 @@
|
||||
#if OS(ANDROID) || OS(HURD)
|
||||
#if OS(HURD)
|
||||
// PTHREAD_KEYS_MAX is not defined in bionic nor in Hurd, so explicitly define it here.
|
||||
#define PTHREAD_KEYS_MAX 1024
|
||||
+#elif OS(NETBSD)
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_Threading.h,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Add Solaris/SunOS support
|
||||
|
||||
--- Source/WTF/wtf/Threading.h.orig 2013-11-27 01:01:21.000000000 +0000
|
||||
+++ Source/WTF/wtf/Threading.h
|
||||
@@ -112,6 +112,8 @@ using WTF::createThread;
|
||||
using WTF::currentThread;
|
||||
using WTF::detachThread;
|
||||
using WTF::waitForThreadCompletion;
|
||||
+#if !OS(SOLARIS)
|
||||
using WTF::yield;
|
||||
+#endif
|
||||
|
||||
#endif // Threading_h
|
|
@ -1,18 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_TypeTraits.h,v 1.1 2017/04/26 10:27:43 wiz Exp $
|
||||
|
||||
Fix build with icu-59.
|
||||
https://bugreports.qt.io/browse/QTBUG-35971
|
||||
|
||||
--- Source/WTF/wtf/TypeTraits.h.orig 2015-10-13 04:37:08.000000000 +0000
|
||||
+++ Source/WTF/wtf/TypeTraits.h
|
||||
@@ -75,6 +75,10 @@ namespace WTF {
|
||||
#if !COMPILER(MSVC) || defined(_NATIVE_WCHAR_T_DEFINED)
|
||||
template<> struct IsInteger<wchar_t> { static const bool value = true; };
|
||||
#endif
|
||||
+#if COMPILER_SUPPORTS(CXX_NEW_CHAR_TYPES)
|
||||
+ template<> struct IsInteger<char16_t> { static const bool value = true; };
|
||||
+ template<> struct IsInteger<char32_t> { static const bool value = true; };
|
||||
+#endif
|
||||
|
||||
template<typename T> struct IsFloatingPoint { static const bool value = false; };
|
||||
template<> struct IsFloatingPoint<float> { static const bool value = true; };
|
|
@ -1,12 +0,0 @@
|
|||
$NetBSD: patch-Source_WTF_wtf_text_StringImpl.h,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
--- Source/WTF/wtf/text/StringImpl.h.orig 2013-11-27 01:01:21.000000000 +0000
|
||||
+++ Source/WTF/wtf/text/StringImpl.h
|
||||
@@ -24,6 +24,7 @@
|
||||
#define StringImpl_h
|
||||
|
||||
#include <limits.h>
|
||||
+#include <unistd.h>
|
||||
#include <wtf/ASCIICType.h>
|
||||
#include <wtf/Forward.h>
|
||||
#include <wtf/StdLibExtras.h>
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-Source_WebCore_Target.pri,v 1.1 2014/12/30 17:23:47 adam Exp $
|
||||
|
||||
* Build libWebCore with libtool
|
||||
* Install libWebCore libraries
|
||||
|
||||
--- Source/WebCore/Target.pri.orig 2013-11-27 01:01:46.000000000 +0000
|
||||
+++ Source/WebCore/Target.pri
|
||||
@@ -12,7 +12,8 @@ include(WebCore.pri)
|
||||
WEBKIT += wtf
|
||||
WEBKIT += javascriptcore
|
||||
|
||||
-CONFIG += staticlib
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
# Do it in the WebCore static lib to support force_static_libs_as_shared
|
||||
# since the QtWebKitWidgets lib wouldn't load QtWebKit in that case.
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Source_WebCore_bindings_js_JSInspectorFrontendHostCustom.cpp,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp.orig 2013-11-27 01:01:47.000000000 +0000
|
||||
+++ Source/WebCore/bindings/js/JSInspectorFrontendHostCustom.cpp
|
||||
@@ -63,6 +63,8 @@ JSValue JSInspectorFrontendHost::platfor
|
||||
DEFINE_STATIC_LOCAL(const String, platform, (ASCIILiteral("freebsd")));
|
||||
#elif OS(OPENBSD)
|
||||
DEFINE_STATIC_LOCAL(const String, platform, (ASCIILiteral("openbsd")));
|
||||
+#elif OS(NETBSD)
|
||||
+ DEFINE_STATIC_LOCAL(const String, platform, (ASCIILiteral("netbsd")));
|
||||
#elif OS(SOLARIS)
|
||||
DEFINE_STATIC_LOCAL(const String, platform, (ASCIILiteral("solaris")));
|
||||
#else
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-Source_WebCore_editing_Editor.h,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
--- Source/WebCore/editing/Editor.h.orig 2013-11-27 01:01:43.000000000 +0000
|
||||
+++ Source/WebCore/editing/Editor.h
|
||||
@@ -416,7 +416,7 @@ public:
|
||||
Vector<String> dictationAlternativesForMarker(const DocumentMarker*);
|
||||
void applyDictationAlternativelternative(const String& alternativeString);
|
||||
private:
|
||||
- virtual void willDetachPage() OVERRIDE;
|
||||
+ virtual void willDetachPage();
|
||||
|
||||
#if ENABLE(DELETION_UI)
|
||||
OwnPtr<DeleteButtonController> m_deleteButtonController;
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: patch-Source_WebCore_page_NavigatorBase.cpp,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
$NetBSD: patch-Source_WebCore_page_NavigatorBase.cpp,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Treat *BSD like Linux
|
||||
|
||||
--- Source/WebCore/page/NavigatorBase.cpp.orig 2013-11-27 01:01:47.000000000 +0000
|
||||
--- Source/WebCore/page/NavigatorBase.cpp.orig 2017-06-04 20:16:06.000000000 +0000
|
||||
+++ Source/WebCore/page/NavigatorBase.cpp
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "NetworkStateNotifier.h"
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <wtf/NeverDestroyed.h>
|
||||
#include <wtf/text/WTFString.h>
|
||||
|
||||
-#if OS(LINUX)
|
||||
|
@ -13,7 +13,7 @@ $NetBSD: patch-Source_WebCore_page_NavigatorBase.cpp,v 1.1 2014/12/30 17:23:48 a
|
|||
#include "sys/utsname.h"
|
||||
#include <wtf/StdLibExtras.h>
|
||||
#endif
|
||||
@@ -86,7 +86,7 @@ String NavigatorBase::appVersion() const
|
||||
@@ -90,7 +90,7 @@ String NavigatorBase::appVersion() const
|
||||
|
||||
String NavigatorBase::platform() const
|
||||
{
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
$NetBSD: patch-Source_WebCore_platform_graphics_surfaces_mac_GraphicsSurfaceMac.cpp,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
Correct includes.
|
||||
|
||||
--- Source/WebCore/platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp.orig 2014-04-22 06:24:40.000000000 +0000
|
||||
+++ Source/WebCore/platform/graphics/surfaces/mac/GraphicsSurfaceMac.cpp
|
||||
@@ -23,9 +23,9 @@
|
||||
#if USE(GRAPHICS_SURFACE) && OS(DARWIN)
|
||||
#include "TextureMapperGL.h"
|
||||
#include <CoreFoundation/CFNumber.h>
|
||||
-#include <CGLContext.h>
|
||||
-#include <CGLCurrent.h>
|
||||
-#include <CGLIOSurface.h>
|
||||
+#include <OpenGL/CGLContext.h>
|
||||
+#include <OpenGL/CGLCurrent.h>
|
||||
+#include <OpenGL/CGLIOSurface.h>
|
||||
#include <IOSurface/IOSurface.h>
|
||||
#include <OpenGL/OpenGL.h>
|
||||
#include <OpenGL/gl.h>
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-Source_WebCore_platform_sql_SQLiteDatabase.cpp,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
--- Source/WebCore/platform/sql/SQLiteDatabase.cpp.orig 2013-11-27 01:01:43.000000000 +0000
|
||||
+++ Source/WebCore/platform/sql/SQLiteDatabase.cpp
|
||||
@@ -127,7 +127,7 @@ void SQLiteDatabase::interrupt()
|
||||
if (!m_db)
|
||||
return;
|
||||
sqlite3_interrupt(m_db);
|
||||
- yield();
|
||||
+ WTF::yield();
|
||||
}
|
||||
|
||||
m_lockingMutex.unlock();
|
|
@ -1,16 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit2_DerivedSources.pri,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Fix build from the lack of many headers, this is ugly hack
|
||||
|
||||
--- Source/WebKit2/DerivedSources.pri.orig 2013-11-27 01:01:50.000000000 +0000
|
||||
+++ Source/WebKit2/DerivedSources.pri
|
||||
@@ -4,6 +4,9 @@
|
||||
# See 'Tools/qmake/README' for an overview of the build system
|
||||
# -------------------------------------------------------------------
|
||||
|
||||
+# XXX Workaround for the lack of invocation of fwheader_generator target.
|
||||
+ALL_DEPS += fwheader_generator
|
||||
+
|
||||
# This file is both a top level target, and included from Target.pri,
|
||||
# so that the resulting generated sources can be added to SOURCES.
|
||||
# We only set the template if we're a top level target, so that we
|
|
@ -1,22 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.cpp,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
--- Source/WebKit2/Platform/CoreIPC/MessageDecoder.cpp.orig 2014-04-22 06:58:04.000000000 +0000
|
||||
+++ Source/WebKit2/Platform/CoreIPC/MessageDecoder.cpp
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "MessageFlags.h"
|
||||
#include "StringReference.h"
|
||||
|
||||
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
+#if defined(Q_OS_MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
#include "ImportanceAssertion.h"
|
||||
#endif
|
||||
|
||||
@@ -77,7 +77,7 @@ bool MessageDecoder::shouldDispatchMessa
|
||||
return m_messageFlags & DispatchMessageWhenWaitingForSyncReply;
|
||||
}
|
||||
|
||||
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
+#if defined(Q_OS_MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
void MessageDecoder::setImportanceAssertion(PassOwnPtr<ImportanceAssertion> assertion)
|
||||
{
|
||||
m_importanceAssertion = assertion;
|
|
@ -1,22 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit2_Platform_CoreIPC_MessageDecoder.h,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
--- Source/WebKit2/Platform/CoreIPC/MessageDecoder.h.orig 2014-04-22 06:56:09.000000000 +0000
|
||||
+++ Source/WebKit2/Platform/CoreIPC/MessageDecoder.h
|
||||
@@ -46,7 +46,7 @@ public:
|
||||
bool isSyncMessage() const;
|
||||
bool shouldDispatchMessageWhenWaitingForSyncReply() const;
|
||||
|
||||
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
+#if defined(Q_OS_MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
void setImportanceAssertion(PassOwnPtr<ImportanceAssertion>);
|
||||
#endif
|
||||
|
||||
@@ -57,7 +57,7 @@ private:
|
||||
StringReference m_messageReceiverName;
|
||||
StringReference m_messageName;
|
||||
|
||||
-#if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
+#if defined(Q_OS_MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1090
|
||||
OwnPtr<ImportanceAssertion> m_importanceAssertion;
|
||||
#endif
|
||||
};
|
|
@ -1,11 +1,11 @@
|
|||
$NetBSD: patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
$NetBSD: patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp,v 1.2 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
* Try to use /tmp/* file like shared memory, I am not sure.
|
||||
|
||||
--- Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp.orig 2013-11-27 01:01:51.000000000 +0000
|
||||
--- Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp.orig 2017-06-04 20:16:07.000000000 +0000
|
||||
+++ Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp
|
||||
@@ -139,14 +139,25 @@ PassRefPtr<SharedMemory> SharedMemory::c
|
||||
PassRefPtr<SharedMemory> SharedMemory::create(size_t size)
|
||||
@@ -96,14 +96,25 @@ void SharedMemory::Handle::adoptAttachme
|
||||
RefPtr<SharedMemory> SharedMemory::allocate(size_t size)
|
||||
{
|
||||
CString tempName;
|
||||
+ CString buf;
|
||||
|
@ -19,7 +19,7 @@ $NetBSD: patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp,v 1.1 2014/12/3
|
|||
|
||||
do {
|
||||
+#if !defined(__NetBSD__)
|
||||
fileDescriptor = shm_open(tempName.data(), O_CREAT | O_CLOEXEC | O_RDWR, S_IRUSR | S_IWUSR);
|
||||
fileDescriptor = shm_open(tempName.data(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
|
||||
+#else
|
||||
+ fileDescriptor = open(buf.data(), O_CREAT | O_CLOEXEC | O_RDWR, S_IRUSR | S_IWUSR);
|
||||
+ if (fileDescriptor == -1 && errno == EEXIST) {
|
||||
|
@ -30,7 +30,7 @@ $NetBSD: patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp,v 1.1 2014/12/3
|
|||
} while (fileDescriptor == -1 && errno == EINTR);
|
||||
}
|
||||
if (fileDescriptor == -1) {
|
||||
@@ -157,7 +168,12 @@ PassRefPtr<SharedMemory> SharedMemory::c
|
||||
@@ -114,7 +125,12 @@ RefPtr<SharedMemory> SharedMemory::alloc
|
||||
while (ftruncate(fileDescriptor, size) == -1) {
|
||||
if (errno != EINTR) {
|
||||
closeWithRetry(fileDescriptor);
|
||||
|
@ -43,7 +43,7 @@ $NetBSD: patch-Source_WebKit2_Platform_unix_SharedMemoryUnix.cpp,v 1.1 2014/12/3
|
|||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -165,11 +181,21 @@ PassRefPtr<SharedMemory> SharedMemory::c
|
||||
@@ -122,11 +138,21 @@ RefPtr<SharedMemory> SharedMemory::alloc
|
||||
void* data = mmap(0, size, PROT_READ | PROT_WRITE, MAP_SHARED, fileDescriptor, 0);
|
||||
if (data == MAP_FAILED) {
|
||||
closeWithRetry(fileDescriptor);
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit2_Shared_API_c_WKString.cpp,v 1.1 2017/04/26 10:27:43 wiz Exp $
|
||||
|
||||
Fix build with icu-59.
|
||||
|
||||
--- Source/WebKit2/Shared/API/c/WKString.cpp.orig 2015-10-13 04:37:12.000000000 +0000
|
||||
+++ Source/WebKit2/Shared/API/c/WKString.cpp
|
||||
@@ -55,7 +55,7 @@ size_t WKStringGetLength(WKStringRef str
|
||||
size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength)
|
||||
{
|
||||
COMPILE_ASSERT(sizeof(WKChar) == sizeof(UChar), WKStringGetCharacters_sizeof_WKChar_matches_UChar);
|
||||
- return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength));
|
||||
+ return (toImpl(stringRef)->getCharacters((UChar*)(buffer), bufferLength));
|
||||
}
|
||||
|
||||
size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef)
|
|
@ -1,26 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit2_Target.pri,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Fix build from the lack of many headers, this is ugly hack
|
||||
* Build libWebKit2 with libtool
|
||||
* Install libWebKit2 libraries
|
||||
|
||||
--- Source/WebKit2/Target.pri.orig 2013-11-27 01:01:51.000000000 +0000
|
||||
+++ Source/WebKit2/Target.pri
|
||||
@@ -7,11 +7,16 @@
|
||||
TEMPLATE = lib
|
||||
TARGET = WebKit2
|
||||
|
||||
+QMAKE_EXTRA_TARGETS += fwheader_generator
|
||||
+
|
||||
include(WebKit2.pri)
|
||||
|
||||
WEBKIT += wtf javascriptcore webcore
|
||||
|
||||
-CONFIG += staticlib
|
||||
+#CONFIG += staticlib
|
||||
+
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
RESOURCES += $$PWD/WebKit2.qrc
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
$NetBSD: patch-Source_WebKit_PlatformQt.cmake,v 1.1 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
Fix build with CMake 3.10
|
||||
|
||||
--- Source/WebKit/PlatformQt.cmake.orig 2017-06-09 14:11:36.000000000 +0000
|
||||
+++ Source/WebKit/PlatformQt.cmake
|
||||
@@ -786,6 +786,7 @@ if (COMPILER_IS_GCC_OR_CLANG)
|
||||
set_source_files_properties(
|
||||
qt/Api/qwebdatabase.cpp
|
||||
qt/Api/qwebelement.cpp
|
||||
+ qt/Api/qwebfullscreenrequest.cpp
|
||||
qt/Api/qwebhistory.cpp
|
||||
qt/Api/qwebhistoryinterface.cpp
|
||||
qt/Api/qwebpluginfactory.cpp
|
||||
@@ -795,7 +796,6 @@ if (COMPILER_IS_GCC_OR_CLANG)
|
||||
|
||||
qt/WidgetApi/qgraphicswebview.cpp
|
||||
qt/WidgetApi/qwebframe.cpp
|
||||
- qt/WidgetApi/qwebfullscreenrequest.cpp
|
||||
qt/WidgetApi/qwebinspector.cpp
|
||||
qt/WidgetApi/qwebpage.cpp
|
||||
qt/WidgetApi/qwebview.cpp
|
|
@ -1,19 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit_WebKit1.pro,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Build libWebKit libraries with libtool
|
||||
* Install libWebKit libraries
|
||||
|
||||
--- Source/WebKit/WebKit1.pro.orig 2013-11-27 01:01:39.000000000 +0000
|
||||
+++ Source/WebKit/WebKit1.pro
|
||||
@@ -16,7 +16,10 @@ QT += gui
|
||||
# defined by the logic in qt_module.prf as it should
|
||||
DEFINES += QT_BUILD_WEBKIT_LIB
|
||||
|
||||
-CONFIG += staticlib
|
||||
+#CONFIG += staticlib
|
||||
+
|
||||
+target.path = $$[QT_INSTALL_LIBS]
|
||||
+INSTALLS += target
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/qt/Api/qhttpheader.cpp \
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-Source_WebKit_qt_examples_platformplugin_platformplugin.pro,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Fix unprivileged build,
|
||||
https://bugs.webkit.org/show_bug.cgi?id=117077
|
||||
|
||||
--- Source/WebKit/qt/examples/platformplugin/platformplugin.pro.orig 2013-11-27 01:01:40.000000000 +0000
|
||||
+++ Source/WebKit/qt/examples/platformplugin/platformplugin.pro
|
||||
@@ -20,7 +20,8 @@ load(mobilityconfig, true)
|
||||
}
|
||||
}
|
||||
|
||||
-DESTDIR = $$[QT_INSTALL_PLUGINS]/webkit
|
||||
+target.path = $$[QT_INSTALL_PLUGINS]/webkit
|
||||
+INSTALLS += target
|
||||
|
||||
SOURCES += \
|
||||
WebPlugin.cpp \
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Source_api.pri,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
OS X also requires dummy object file, otherwise 'ar' would fail.
|
||||
|
||||
--- Source/api.pri.orig 2014-11-17 12:03:52.000000000 +0000
|
||||
+++ Source/api.pri
|
||||
@@ -102,7 +102,7 @@ load(qt_module)
|
||||
}
|
||||
}
|
||||
|
||||
-qnx {
|
||||
+macx|qnx {
|
||||
# see: https://bugs.webkit.org/show_bug.cgi?id=93460
|
||||
# the gcc 4.4.2 used in the qnx bbndk cannot cope with
|
||||
# the linkage step of libQtWebKit, adding a dummy .cpp
|
15
x11/qt5-qtwebkit/patches/patch-Source_cmake_OptionsQt.cmake
Normal file
15
x11/qt5-qtwebkit/patches/patch-Source_cmake_OptionsQt.cmake
Normal file
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-Source_cmake_OptionsQt.cmake,v 1.1 2018/01/17 19:37:33 markd Exp $
|
||||
|
||||
ECM_MODULE_DIR wants a single directory, not a path
|
||||
|
||||
--- Source/cmake/OptionsQt.cmake.orig 2017-06-15 23:36:48.000000000 +0000
|
||||
+++ Source/cmake/OptionsQt.cmake
|
||||
@@ -1,7 +1,7 @@
|
||||
include(FeatureSummary)
|
||||
include(ECMPackageConfigHelpers)
|
||||
|
||||
-set(ECM_MODULE_DIR ${CMAKE_MODULE_PATH})
|
||||
+set(ECM_MODULE_DIR "${CMAKE_SOURCE_DIR}/Source/cmake")
|
||||
|
||||
set(PROJECT_VERSION_MAJOR 5)
|
||||
set(PROJECT_VERSION_MINOR 212)
|
|
@ -1,27 +0,0 @@
|
|||
$NetBSD: patch-Tools_Scripts_webkitdirs.pm,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Add NetBSD support
|
||||
|
||||
--- Tools/Scripts/webkitdirs.pm.orig 2013-11-27 01:01:20.000000000 +0000
|
||||
+++ Tools/Scripts/webkitdirs.pm
|
||||
@@ -355,7 +355,7 @@ sub determineNumberOfCPUs
|
||||
} elsif (isWindows() || isCygwin()) {
|
||||
# Assumes cygwin
|
||||
$numberOfCPUs = `ls /proc/registry/HKEY_LOCAL_MACHINE/HARDWARE/DESCRIPTION/System/CentralProcessor | wc -w`;
|
||||
- } elsif (isDarwin() || isFreeBSD()) {
|
||||
+ } elsif (isDarwin() || isFreeBSD() || isNetBSD()) {
|
||||
chomp($numberOfCPUs = `sysctl -n hw.ncpu`);
|
||||
}
|
||||
}
|
||||
@@ -1253,6 +1253,11 @@ sub isFreeBSD()
|
||||
return ($^O eq "freebsd") || 0;
|
||||
}
|
||||
|
||||
+sub isNetBSD()
|
||||
+{
|
||||
+ return ($^O eq "netbsd") || 0;
|
||||
+}
|
||||
+
|
||||
sub isARM()
|
||||
{
|
||||
return $Config{archname} =~ /^arm[v\-]/;
|
|
@ -1,14 +0,0 @@
|
|||
$NetBSD: patch-Tools_WebKitTestRunner_InjectedBundle_Target.pri,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Treat NetBSD like Linux
|
||||
|
||||
--- Tools/WebKitTestRunner/InjectedBundle/Target.pri.orig 2013-11-27 01:01:19.000000000 +0000
|
||||
+++ Tools/WebKitTestRunner/InjectedBundle/Target.pri
|
||||
@@ -67,6 +67,6 @@ INCLUDEPATH += \
|
||||
PREFIX_HEADER = $$PWD/../WebKitTestRunnerPrefix.h
|
||||
*-g++*:QMAKE_CXXFLAGS += "-include $$PREFIX_HEADER"
|
||||
|
||||
-linux-* {
|
||||
+linux-*|netbsd-* {
|
||||
QMAKE_LFLAGS += -Wl,--no-undefined
|
||||
}
|
|
@ -1,17 +0,0 @@
|
|||
$NetBSD: patch-Tools_qmake_mkspecs_features_functions.prf,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Use libtool manner for libtool build
|
||||
|
||||
--- Tools/qmake/mkspecs/features/functions.prf.orig 2013-11-27 01:01:20.000000000 +0000
|
||||
+++ Tools/qmake/mkspecs/features/functions.prf
|
||||
@@ -262,8 +262,8 @@ defineTest(linkAgainstLibrary) {
|
||||
|
||||
path = $$replace(source_dir, $$re_escape($${ROOT_WEBKIT_DIR}), $${ROOT_BUILD_DIR})/$$targetSubDir()
|
||||
|
||||
- force_static_libs_as_shared {
|
||||
- LIBS += -L$${ROOT_BUILD_DIR}/lib -l$$target
|
||||
+ !staticlib {
|
||||
+ LIBS += $${path}$${QMAKE_DIR_SEP}lib$${target}.la
|
||||
} else {
|
||||
|
||||
mac {
|
|
@ -1,15 +0,0 @@
|
|||
$NetBSD: patch-Tools_qmake_mkspecs_features_production__build.prf,v 1.1 2014/12/30 17:23:48 adam Exp $
|
||||
|
||||
* Set CONFIGs for non-static (libtoolized) build
|
||||
|
||||
--- Tools/qmake/mkspecs/features/production_build.prf.orig 2014-09-11 10:48:10.000000000 +0000
|
||||
+++ Tools/qmake/mkspecs/features/production_build.prf
|
||||
@@ -7,7 +7,7 @@ CONFIG *= use_all_in_one_files
|
||||
# resulting in the need of several gigabytes of memory at link-time. Reduce the pressure
|
||||
# by compiling any static library like WTF or JSC with release flags instead and keep debug
|
||||
# symbols for the static libraries that implement API.
|
||||
-if(linux-*:!contains(QMAKE_HOST.arch, x86_64))|mingw:if(CONFIG(debug, debug|release)|contains(QT_CONFIG,separate_debug_info)):contains(TEMPLATE, lib):staticlib {
|
||||
+if(linux-*:!contains(QMAKE_HOST.arch, x86_64))|mingw:if(CONFIG(debug, debug|release)|contains(QT_CONFIG,separate_debug_info)):contains(TEMPLATE, lib) {
|
||||
!equals(TARGET, WebKit2):!equals(TARGET, WebKitWidgets) {
|
||||
CONFIG += no_debug_info
|
||||
CONFIG -= separate_debug_info
|
Loading…
Reference in a new issue