pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libodfgen



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Feb  7 17:03:28 UTC 2018

Modified Files:
        pkgsrc/textproc/libodfgen: distinfo
Added Files:
        pkgsrc/textproc/libodfgen/patches: patch-src_PageSpan.cxx

Log Message:
libodfgen: Fix -Wtautological-unsigned-enum-zero-compare


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/textproc/libodfgen/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/libodfgen/patches/patch-src_PageSpan.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libodfgen/distinfo
diff -u pkgsrc/textproc/libodfgen/distinfo:1.7 pkgsrc/textproc/libodfgen/distinfo:1.8
--- pkgsrc/textproc/libodfgen/distinfo:1.7      Mon Aug 15 18:52:10 2016
+++ pkgsrc/textproc/libodfgen/distinfo  Wed Feb  7 17:03:28 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2016/08/15 18:52:10 ryoon Exp $
+$NetBSD: distinfo,v 1.8 2018/02/07 17:03:28 jperkin Exp $
 
 SHA1 (libodfgen-0.1.6.tar.xz) = 49da7cc0dc4adfe0452e951d2dea3c225358fd63
 RMD160 (libodfgen-0.1.6.tar.xz) = 9c3fcb5aecb0ad54bab246fbf16bf5d3ac562bb6
 SHA512 (libodfgen-0.1.6.tar.xz) = bc5e6908ee14c576adececdf8a94ae01f2ed487e6f2490e41aab787e1e8f72a3fb2a786f51ceeefa327710af215741ce13bcf4bb3d99d2aaf403f568c5db75a5
 Size (libodfgen-0.1.6.tar.xz) = 359988 bytes
+SHA1 (patch-src_PageSpan.cxx) = 8397b3a3bce846d2ab5544d079f3cdf8bb6430f8

Added files:

Index: pkgsrc/textproc/libodfgen/patches/patch-src_PageSpan.cxx
diff -u /dev/null pkgsrc/textproc/libodfgen/patches/patch-src_PageSpan.cxx:1.1
--- /dev/null   Wed Feb  7 17:03:28 2018
+++ pkgsrc/textproc/libodfgen/patches/patch-src_PageSpan.cxx    Wed Feb  7 17:03:28 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_PageSpan.cxx,v 1.1 2018/02/07 17:03:28 jperkin Exp $
+
+Fix -Wtautological-unsigned-enum-zero-compare
+
+--- src/PageSpan.cxx.orig      2015-12-26 09:22:22.000000000 +0000
++++ src/PageSpan.cxx
+@@ -186,7 +186,7 @@ librevenge::RVNGString PageSpan::protect
+ 
+ void PageSpan::storeContent(ContentType type, libodfgen::DocumentElementVector *pContent)
+ {
+-      if (type<0||type>=C_NumContentTypes)
++      if (type>=C_NumContentTypes)
+       {
+               ODFGEN_DEBUG_MSG(("PageSpan::storeContent: the type seems bad\n"));
+               // probably better to do not delete it



Home | Main Index | Thread Index | Old Index