pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11 Fix portability issues with pointer ordering. Bump...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4d8492a72e24
branches: trunk
changeset: 355943:4d8492a72e24
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Dec 16 00:06:46 2016 +0000
description:
Fix portability issues with pointer ordering. Bump qt-tools for the
linguist change as it was nonsensical before.
diffstat:
x11/qt4-libs/distinfo | 4 ++-
x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp | 15 ++++++++++
x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp | 15 ++++++++++
x11/qt4-tools/Makefile | 4 +-
4 files changed, 35 insertions(+), 3 deletions(-)
diffs (72 lines):
diff -r 19b0f262ccf6 -r 4d8492a72e24 x11/qt4-libs/distinfo
--- a/x11/qt4-libs/distinfo Fri Dec 16 00:04:54 2016 +0000
+++ b/x11/qt4-libs/distinfo Fri Dec 16 00:06:46 2016 +0000
@@ -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_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__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 -r 19b0f262ccf6 -r 4d8492a72e24 x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/patches/patch-src_3rdparty_webkit_Source_WebCore_html_HTMLImageElement.cpp Fri Dec 16 00:06:46 2016 +0000
@@ -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 -r 19b0f262ccf6 -r 4d8492a72e24 x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-libs/patches/patch-tools_linguist_linguist_messagemodel.cpp Fri Dec 16 00:06:46 2016 +0000
@@ -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 -r 19b0f262ccf6 -r 4d8492a72e24 x11/qt4-tools/Makefile
--- a/x11/qt4-tools/Makefile Fri Dec 16 00:04:54 2016 +0000
+++ b/x11/qt4-tools/Makefile Fri Dec 16 00:06:46 2016 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index