pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/scintilla Pointers are not ordered relative to 0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06055a659d6b
branches:  trunk
changeset: 355929:06055a659d6b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 15 23:51:03 2016 +0000

description:
Pointers are not ordered relative to 0.

diffstat:

 devel/scintilla/distinfo                           |   3 ++-
 devel/scintilla/patches/patch-gtk_ScintillaGTK.cxx |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r fb5788a8163d -r 06055a659d6b devel/scintilla/distinfo
--- a/devel/scintilla/distinfo  Thu Dec 15 23:50:01 2016 +0000
+++ b/devel/scintilla/distinfo  Thu Dec 15 23:51:03 2016 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2015/11/03 03:29:32 agc Exp $
+$NetBSD: distinfo,v 1.7 2016/12/15 23:51:03 joerg Exp $
 
 SHA1 (scintilla339.tgz) = 9e1937a9e6a41659c7fd0f1e460bf476573a652b
 RMD160 (scintilla339.tgz) = 22ef0452ffb58d4861255d27a7f2f7bd436f1e1e
 SHA512 (scintilla339.tgz) = 4444fa014374f20335e037db1f30e3ad8ece067a1909a45da499c388e5148b129d1f254cdbf44b4de3ef868a682a8c72f5b27403b2c86342a81a14d24f6dfaa9
 Size (scintilla339.tgz) = 1313246 bytes
+SHA1 (patch-gtk_ScintillaGTK.cxx) = 0639d37f392296f98f928a4b8ca5b2e9dce9035a
diff -r fb5788a8163d -r 06055a659d6b devel/scintilla/patches/patch-gtk_ScintillaGTK.cxx
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/scintilla/patches/patch-gtk_ScintillaGTK.cxx        Thu Dec 15 23:51:03 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-gtk_ScintillaGTK.cxx,v 1.1 2016/12/15 23:51:03 joerg Exp $
+
+Pointers are not ordered relative to 0.
+
+--- gtk/ScintillaGTK.cxx.orig  2016-12-13 21:23:33.721060803 +0000
++++ gtk/ScintillaGTK.cxx
+@@ -1556,7 +1556,7 @@ void ScintillaGTK::ReceivedDrop(GtkSelec
+               drop.push_back('\0');
+               NotifyURIDropped(&drop[0]);
+       } else if ((TypeOfGSD(selection_data) == GDK_TARGET_STRING) || (TypeOfGSD(selection_data) == atomUTF8)) {
+-              if (TypeOfGSD(selection_data) > 0) {
++              if (TypeOfGSD(selection_data)) {
+                       SelectionText selText;
+                       GetGtkSelectionText(selection_data, selText);
+                       DropAt(posDrop, selText.Data(), selText.Length(), false, selText.rectangular);



Home | Main Index | Thread Index | Old Index