Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package netpbm for openSUSE:Factory checked 
in at 2021-12-28 12:26:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/netpbm (Old)
 and      /work/SRC/openSUSE:Factory/.netpbm.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "netpbm"

Tue Dec 28 12:26:14 2021 rev:75 rq:942825 version:10.96.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/netpbm/netpbm.changes    2021-12-16 
21:20:18.926544142 +0100
+++ /work/SRC/openSUSE:Factory/.netpbm.new.2520/netpbm.changes  2021-12-28 
12:26:28.160477229 +0100
@@ -1,0 +2,5 @@
+Sun Dec 19 17:47:53 UTC 2021 - Andreas Schwab <[email protected]>
+
+- signed-char.patch: fix bad use of plain char
+
+-------------------------------------------------------------------

New:
----
  signed-char.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ netpbm.spec ++++++
--- /var/tmp/diff_new_pack.v5srKu/_old  2021-12-28 12:26:28.780477698 +0100
+++ /var/tmp/diff_new_pack.v5srKu/_new  2021-12-28 12:26:28.788477704 +0100
@@ -41,6 +41,8 @@
 Patch3:         %{name}-security-scripts.patch
 Patch4:         %{name}-gcc-warnings.patch
 Patch5:         makeman-py3.patch
+# PATCH-FIX-UPSTREAM fix bad use of plain char
+Patch6:         signed-char.patch
 # PATCH-FIX-UPSTREAM fix dependency on byte order
 Patch7:         big-endian.patch
 # bsc#1144255 disable jpeg2k support due to removal of jasper

++++++ signed-char.patch ++++++
Index: netpbm-10.96.4/converter/other/pnmtopalm/palmtopnm.c
===================================================================
--- netpbm-10.96.4.orig/converter/other/pnmtopalm/palmtopnm.c
+++ netpbm-10.96.4/converter/other/pnmtopalm/palmtopnm.c
@@ -873,7 +873,7 @@ readPackBitsRow(FILE *          const if
         pm_readcharu(ifP, &incountByte);
         if (incountByte & 0x80) {
             /* How do we handle incount == -128 ? */
-            int const signedIncount = (char)incountByte;
+            int const signedIncount = (signed char)incountByte;
             unsigned int const runlength = -signedIncount + 1;
             unsigned char inval;
             pm_readcharu(ifP, &inval);

Reply via email to