pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/cinepaint Pointers have no sign.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f6937bc6a667
branches:  trunk
changeset: 356222:f6937bc6a667
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Dec 22 21:03:12 2016 +0000

description:
Pointers have no sign.

diffstat:

 graphics/cinepaint/distinfo                                                              |   3 +-
 graphics/cinepaint/patches/patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp |  21 ++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (42 lines):

diff -r bb546779d127 -r f6937bc6a667 graphics/cinepaint/distinfo
--- a/graphics/cinepaint/distinfo       Thu Dec 22 21:02:19 2016 +0000
+++ b/graphics/cinepaint/distinfo       Thu Dec 22 21:03:12 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2015/11/03 21:33:54 agc Exp $
+$NetBSD: distinfo,v 1.22 2016/12/22 21:03:12 joerg Exp $
 
 SHA1 (cinepaint-0.22-1.tar.gz) = 717580b9b8b1044d76f1f0e4330e1c8104e2a206
 RMD160 (cinepaint-0.22-1.tar.gz) = 1f8e06486ed5e74ad483abec305d4fcef0538572
@@ -20,6 +20,7 @@
 SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__modell__beobachter.cpp) = 0aad88391642a9bacafee8e39116a98c7523d815
 SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__oyranos.h) = a5a72d106b655f79932b0d2d032136a32acbeafb
 SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__oyranos__extern.cpp) = 2e733a0c557236a735b97a7174795965b4bd4e0c
+SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp) = f590691012f832d8dd19ca62f70f241601d84807
 SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__speicher.h) = 1eef5be81fe36c2eb9ecf50606ecb294644e15f4
 SHA1 (patch-plug-ins_icc__examin_icc__examin_icc__thread__daten.cpp) = 66398aa3b06cc65017ec957e36579accd82df117
 SHA1 (patch-plug-ins_pdf_pdf.cpp) = e0af79a6f2e8962edc90d53ceef1b521aacb8e55
diff -r bb546779d127 -r f6937bc6a667 graphics/cinepaint/patches/patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/cinepaint/patches/patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp  Thu Dec 22 21:03:12 2016 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-plug-ins_icc__examin_icc__examin_icc__profile__tags.cpp,v 1.1 2016/12/22 21:03:12 joerg Exp $
+
+Pointers have no sign.
+
+--- plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp.orig   2016-12-22 13:23:55.102285480 +0000
++++ plug-ins/icc_examin/icc_examin/icc_profile_tags.cpp
+@@ -332,12 +332,12 @@ ICCtag::getText                     (voi
+ #   ifdef DEBUG_ICCTAG
+     DBG_NUM_S ((int)strchr(txt, 13))
+ #   endif
+-    while (strchr(txt, 13) > 0) { // \r 013 0x0d
++    while (strchr(txt, 13)) { // \r 013 0x0d
+       pos = strchr(txt, 13);
+ #     ifdef DEBUG_ICCTAG
+       //cout << (int)pos << " "; DBG
+ #     endif
+-      if (pos > 0) {
++      if (pos) {
+         if (*(pos+1) == '\n')
+           *pos = ' ';
+         else



Home | Main Index | Thread Index | Old Index