summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2020-06-14 11:40:11 +0000
committermarkd <markd@pkgsrc.org>2020-06-14 11:40:11 +0000
commit9687079d4d82db957b9e457c6581de0a1b3ee88f (patch)
tree260523487ba5b206b824ec5d32f0ef72dc1f0353 /editors
parentc3477599b431598086f736f6e1f6af7c46691cbe (diff)
downloadpkgsrc-9687079d4d82db957b9e457c6581de0a1b3ee88f.tar.gz
texworks: fix build with qt5.15
Diffstat (limited to 'editors')
-rw-r--r--editors/texworks/Makefile4
-rw-r--r--editors/texworks/distinfo3
-rw-r--r--editors/texworks/patches/patch-modules_QtPDF_src_PDFBackend.cpp14
3 files changed, 18 insertions, 3 deletions
diff --git a/editors/texworks/Makefile b/editors/texworks/Makefile
index 1ceeabbb26c..7104b507625 100644
--- a/editors/texworks/Makefile
+++ b/editors/texworks/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.83 2020/06/02 08:23:45 adam Exp $
+# $NetBSD: Makefile,v 1.84 2020/06/14 11:40:11 markd Exp $
DISTNAME= texworks-0.6.3
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_GITHUB:=TeXworks/}
GITHUB_PROJECT= texworks
diff --git a/editors/texworks/distinfo b/editors/texworks/distinfo
index ac5e8d4ea99..22464878c77 100644
--- a/editors/texworks/distinfo
+++ b/editors/texworks/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.7 2020/03/01 12:38:04 markd Exp $
+$NetBSD: distinfo,v 1.8 2020/06/14 11:40:11 markd Exp $
SHA1 (texworks-0.6.3.tar.gz) = cfa574773cd9db2c1248c02c4e23254a34168394
RMD160 (texworks-0.6.3.tar.gz) = d4e03af0e41f2c14eaa4800769062002f96fd77c
SHA512 (texworks-0.6.3.tar.gz) = 389cf54441e74164fc842f2f293cdee45c6ff9fe202f262d32f3fb076de9a29813a62cd75052969293f2f784e0722215bbbf2206e75bc836a13d495bf5aed653
Size (texworks-0.6.3.tar.gz) = 12082640 bytes
SHA1 (patch-getDefaultBinPaths.sh) = 3f41dd5c29f581e8bba0bb8dd48576a5619d8d1f
+SHA1 (patch-modules_QtPDF_src_PDFBackend.cpp) = 8dbae61266969249eb9e3c9585a4d10a1ebcf1bf
SHA1 (patch-src_CompletingEdit.cpp) = e7ce59c97a232dffdf4dc58efc2ab15b46695087
diff --git a/editors/texworks/patches/patch-modules_QtPDF_src_PDFBackend.cpp b/editors/texworks/patches/patch-modules_QtPDF_src_PDFBackend.cpp
new file mode 100644
index 00000000000..ca15c3731d5
--- /dev/null
+++ b/editors/texworks/patches/patch-modules_QtPDF_src_PDFBackend.cpp
@@ -0,0 +1,14 @@
+$NetBSD: patch-modules_QtPDF_src_PDFBackend.cpp,v 1.1 2020/06/14 11:40:11 markd Exp $
+
+qt5.15 fix
+
+--- modules/QtPDF/src/PDFBackend.cpp.orig 2019-03-16 17:06:14.000000000 +0000
++++ modules/QtPDF/src/PDFBackend.cpp
+@@ -14,6 +14,7 @@
+
+ #include <PDFBackend.h>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QApplication>
+
+ namespace QtPDF {