-
- added patches fix bsc#1170831 -- sent to bryanh@giraffe-data.com on 2020-05-04 + netpbm-pbmtonokia-cmdline-txt-null.patch OBS-URL: https://build.opensuse.org/package/show/graphics/netpbm?expand=0&rev=119
This commit is contained in:
parent
4d3753e87e
commit
0e9cd0fe50
14
netpbm-pbmtonokia-cmdline-txt-null.patch
Normal file
14
netpbm-pbmtonokia-cmdline-txt-null.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: netpbm-10.88.1/converter/pbm/pbmtonokia.c
|
||||
===================================================================
|
||||
--- netpbm-10.88.1.orig/converter/pbm/pbmtonokia.c 2019-12-20 11:44:12.938955573 +0100
|
||||
+++ netpbm-10.88.1/converter/pbm/pbmtonokia.c 2020-05-04 14:28:15.636966434 +0200
|
||||
@@ -412,7 +412,8 @@ convertToNpm(bit ** const image,
|
||||
header[ 3] = 0;
|
||||
header[ 4] = len;
|
||||
header[ 5] = 0;
|
||||
- memcpy(&header[5], text, len);
|
||||
+ if (text)
|
||||
+ memcpy(&header[5], text, len);
|
||||
header[ 6 + len] = cols;
|
||||
header[ 7 + len] = rows;
|
||||
header[ 8 + len] = 1;
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 4 12:42:15 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
-
|
||||
- added patches
|
||||
fix bsc#1170831 -- sent to bryanh@giraffe-data.com on 2020-05-04
|
||||
+ netpbm-pbmtonokia-cmdline-txt-null.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 30 14:14:22 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
|
@ -47,6 +47,8 @@ Patch8: signed-char.patch
|
||||
Patch9: big-endian.patch
|
||||
# bsc#1144255 disable jpeg2k support due to removal of jasper
|
||||
Patch10: netpbm-disable-jasper.patch
|
||||
# bsc#1170831 -- sent to bryanh@giraffe-data.com on 2020-05-04
|
||||
Patch11: netpbm-pbmtonokia-cmdline-txt-null.patch
|
||||
BuildRequires: flex
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
@ -102,6 +104,7 @@ source package.
|
||||
%patch8 -p1
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
mkdir pnmtopalm # for %%doc pnmtopalm
|
||||
cp -p converter/other/pnmtopalm/{LICENSE,README} pnmtopalm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user