summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2016-12-16 00:06:46 +0000
committerjoerg <joerg>2016-12-16 00:06:46 +0000
commit2e9c9c3c97717ac743e75d099494a9c717a88c77 (patch)
treeaf3f03cda3c3182703086cca3a8fd2bf939a4613 /x11
parent46c954193e1cab3b18f4a9dd11ea8d6e6c34211b (diff)
downloadpkgsrc-2e9c9c3c97717ac743e75d099494a9c717a88c77.tar.gz
Fix portability issues with pointer ordering. Bump qt-tools for the
linguist change as it was nonsensical before.
Diffstat (limited to 'x11')
-rw-r--r--x11/qt4-libs/distinfo4
-rw-r--r--x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp15
-rw-r--r--x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp15
-rw-r--r--x11/qt4-tools/Makefile4
4 files changed, 35 insertions, 3 deletions
diff --git a/x11/qt4-libs/distinfo b/x11/qt4-libs/distinfo
index 1dce4134bac..983cc091936 100644
--- a/x11/qt4-libs/distinfo
+++ b/x11/qt4-libs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.110 2016/08/30 07:58:27 richard Exp $
+$NetBSD: distinfo,v 1.111 2016/12/16 00:06:46 joerg Exp $
SHA1 (qt-everywhere-opensource-src-4.8.7.tar.gz) = 76aef40335c0701e5be7bb3a9101df5d22fe3666
RMD160 (qt-everywhere-opensource-src-4.8.7.tar.gz) = afb5e5a99388e6429faca59cb5000054feffd166
@@ -63,6 +63,7 @@ SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_StringImpl.h) = d5460b
SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_ThreadSafeRefCounted.h) = 2d3176beb56697d033387ab10729cfb6681d01c7
SHA1 (patch-src_3rdparty_webkit_Source_JavaScriptCore_wtf_Threading.h) = fa7519ef6ac04cd13be085783f663c329e4a14be
SHA1 (patch-src_3rdparty_webkit_Source_WebCore_dom_Element.cpp) = 90fd6a884f9fd058210c3011bea2ce695011d2e3
+SHA1 (patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp) = e53e7928cd68e74e6476f527b44e77979a74442d
SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_DefaultLocalizationStrategy.cpp) = 0377066bd28d5eae02e8fcf200da4360c286ad84
SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_MediaPlayer.cpp) = f9a1f71b4607c5f542c059873cf5735fad9ff3a1
SHA1 (patch-src_3rdparty_webkit_Source_WebCore_platform_graphics_filters_arm_FEGaussianBlurNEON.cpp) = 51b6bddf81978fd7ae6580132a74aeaec84b724f
@@ -77,3 +78,4 @@ SHA1 (patch-src_network_ssl_qsslsocket__openssl__symbols.cpp) = 3ad682b86d2e9bd2
SHA1 (patch-src_network_ssl_qsslsocket__openssl__symbols__p.h) = 417846ba9edab8638cafa41a54ef60029467ef80
SHA1 (patch-src_plugins_accessible_widgets_itemviews.cpp) = 1456fbaacef33f3b2422158d758d02990845048a
SHA1 (patch-src_tools_bootstrap_bootstrap.pro) = ba6f4facabb621388f38ee95f31e8d6f797ae12a
+SHA1 (patch-tools_linguist_linguist_messagemodel.cpp) = abde18cad489f6ce298ab26ab1053e541c99c5e6
diff --git a/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp
new file mode 100644
index 00000000000..fb99f6e0443
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp,v 1.1 2016/12/16 00:06:46 joerg Exp $
+
+Don't order pointers relative to 0.
+
+--- src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp.orig 2016-12-10 21:49:53.391056357 +0000
++++ src/3rdparty/webkit/Source/WebCore/html/HTMLImageElement.cpp
+@@ -74,7 +74,7 @@ PassRefPtr<HTMLImageElement> HTMLImageEl
+ RefPtr<HTMLImageElement> image = adoptRef(new HTMLImageElement(imgTag, document));
+ if (optionalWidth)
+ image->setWidth(*optionalWidth);
+- if (optionalHeight > 0)
++ if (optionalHeight)
+ image->setHeight(*optionalHeight);
+ return image.release();
+ }
diff --git a/x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp b/x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp
new file mode 100644
index 00000000000..22ee8cc5fb0
--- /dev/null
+++ b/x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp
@@ -0,0 +1,15 @@
+$NetBSD: patch-tools_linguist_linguist_messagemodel.cpp,v 1.1 2016/12/16 00:06:46 joerg Exp $
+
+Don't order pointers relative to 0.
+
+--- tools/linguist/linguist/messagemodel.cpp.orig 2016-12-13 21:07:03.441711305 +0000
++++ tools/linguist/linguist/messagemodel.cpp
+@@ -183,7 +183,7 @@ static int calcMergeScore(const DataMode
+ if (ContextItem *c = one->findContext(oc->context())) {
+ for (int j = 0; j < oc->messageCount(); ++j) {
+ MessageItem *m = oc->messageItem(j);
+- if (c->findMessage(m->text(), m->comment()) >= 0)
++ if (c->findMessage(m->text(), m->comment()))
+ ++inBoth;
+ }
+ }
diff --git a/x11/qt4-tools/Makefile b/x11/qt4-tools/Makefile
index 993ada2c172..7aa0f5c01cc 100644
--- a/x11/qt4-tools/Makefile
+++ b/x11/qt4-tools/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.67 2016/03/05 11:28:00 jperkin Exp $
+# $NetBSD: Makefile,v 1.68 2016/12/16 00:06:46 joerg Exp $
-PKGREVISION= 1
+PKGREVISION= 2
.include "../../x11/qt4-libs/Makefile.common"
PKGNAME= qt4-tools-${QTVERSION}