diff options
author | gutteridge <gutteridge@pkgsrc.org> | 2020-06-06 01:52:00 +0000 |
---|---|---|
committer | gutteridge <gutteridge@pkgsrc.org> | 2020-06-06 01:52:00 +0000 |
commit | 3310b46ace3d8bfb625597b4671a7213e79c4374 (patch) | |
tree | 4d51b0326c43c9080fefd6b7a9ec6b2b8e48d201 /www/otter-browser | |
parent | a00abe17b46e4ac8e573b74a45318f720621c634 (diff) | |
download | pkgsrc-3310b46ace3d8bfb625597b4671a7213e79c4374.tar.gz |
otter-browser: fix build with Qt5 >= 5.15.
Diffstat (limited to 'www/otter-browser')
4 files changed, 33 insertions, 3 deletions
diff --git a/www/otter-browser/Makefile b/www/otter-browser/Makefile index 07167a87da0..55207200ac0 100644 --- a/www/otter-browser/Makefile +++ b/www/otter-browser/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.36 2020/06/02 08:24:58 adam Exp $ +# $NetBSD: Makefile,v 1.37 2020/06/06 01:52:00 gutteridge Exp $ DISTNAME= otter-browser-1.0.01 -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_GITHUB:=OtterBrowser/} GITHUB_TAG= v${PKGVERSION_NOREV} diff --git a/www/otter-browser/distinfo b/www/otter-browser/distinfo index 0f79f1d054f..79ee068774b 100644 --- a/www/otter-browser/distinfo +++ b/www/otter-browser/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.5 2019/05/16 23:22:14 gutteridge Exp $ +$NetBSD: distinfo,v 1.6 2020/06/06 01:52:00 gutteridge Exp $ SHA1 (otter-browser-1.0.01.tar.gz) = 10f0bd2bc2626df442d91837496a6625b8786df5 RMD160 (otter-browser-1.0.01.tar.gz) = 99a057bf836d1f9e98d82750bd22ad6becab2727 SHA512 (otter-browser-1.0.01.tar.gz) = 594bbdcbbc3b5fea903cc0beb749cf76be402cb1c2766706750bdbd6aad84f3d9f48687e1b12945f30e40b3876b9fbf511f41915fd276473b259d7311e33f19d Size (otter-browser-1.0.01.tar.gz) = 4866820 bytes SHA1 (patch-cmake_FindHunspell.cmake) = 74556f29213a1d75f1c81ea0005779503bd17439 +SHA1 (patch-src_modules_backends_web_qtwebkit_QtWebKitPluginWidget.cpp) = f91b1faed86723a41e04d5647881046be46aa862 +SHA1 (patch-src_modules_windows_web_StartPageWidget.cpp) = b0e8d4b8222a1bd94b076372d5b4aaf79c84b3d6 diff --git a/www/otter-browser/patches/patch-src_modules_backends_web_qtwebkit_QtWebKitPluginWidget.cpp b/www/otter-browser/patches/patch-src_modules_backends_web_qtwebkit_QtWebKitPluginWidget.cpp new file mode 100644 index 00000000000..b8f5438fbf2 --- /dev/null +++ b/www/otter-browser/patches/patch-src_modules_backends_web_qtwebkit_QtWebKitPluginWidget.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_modules_backends_web_qtwebkit_QtWebKitPluginWidget.cpp,v 1.1 2020/06/06 01:52:00 gutteridge Exp $ + +Fix build with Qt5 >= 5.15. + +--- src/modules/backends/web/qtwebkit/QtWebKitPluginWidget.cpp.orig 2019-01-01 16:59:01.000000000 +0000 ++++ src/modules/backends/web/qtwebkit/QtWebKitPluginWidget.cpp +@@ -22,6 +22,7 @@ + + #include <QtGui/QMouseEvent> + #include <QtGui/QPainter> ++#include <QtGui/QPainterPath> + + namespace Otter + { diff --git a/www/otter-browser/patches/patch-src_modules_windows_web_StartPageWidget.cpp b/www/otter-browser/patches/patch-src_modules_windows_web_StartPageWidget.cpp new file mode 100644 index 00000000000..03ea133f33d --- /dev/null +++ b/www/otter-browser/patches/patch-src_modules_windows_web_StartPageWidget.cpp @@ -0,0 +1,14 @@ +$NetBSD: patch-src_modules_windows_web_StartPageWidget.cpp,v 1.1 2020/06/06 01:52:00 gutteridge Exp $ + +Fix build with Qt5 >= 5.15. + +--- src/modules/windows/web/StartPageWidget.cpp.orig 2019-01-01 16:59:01.000000000 +0000 ++++ src/modules/windows/web/StartPageWidget.cpp +@@ -41,6 +41,7 @@ + #include <QtGui/QGuiApplication> + #include <QtGui/QMouseEvent> + #include <QtGui/QPainter> ++#include <QtGui/QPainterPath> + #include <QtGui/QPixmapCache> + #include <QtWidgets/QDesktopWidget> + #include <QtWidgets/QGridLayout> |