netpbm: update to 10.81.01.

This commit is contained in:
Leah Neukirchen 2018-01-06 16:24:04 +01:00
parent 962eff119c
commit 5cc0bc9c12
2 changed files with 5 additions and 17 deletions

View file

@ -792,18 +792,6 @@ diff -up netpbm-10.58.01/converter/ppm/qrttoppm.c.security-code netpbm-10.58.01/
if ( buf == (unsigned char *) 0 )
pm_error( "out of memory" );
diff -up netpbm-10.58.01/converter/ppm/sldtoppm.c.security-code netpbm-10.58.01/converter/ppm/sldtoppm.c
--- netpbm-10.58.01/converter/ppm/sldtoppm.c.security-code 2012-04-09 15:31:44.000000000 +0200
+++ netpbm-10.58.01/converter/ppm/sldtoppm.c 2012-04-09 15:40:03.216619626 +0200
@@ -455,6 +455,8 @@ slider(slvecfn slvec,
/* Allocate image buffer and clear it to black. */
+ overflow_add(ixdots,1);
+ overflow_add(iydots,1);
pixels = ppm_allocarray(pixcols = ixdots + 1, pixrows = iydots + 1);
PPM_ASSIGN(rgbcolor, 0, 0, 0);
ppmd_filledrectangle(pixels, pixcols, pixrows, pixmaxval, 0, 0,
diff -up netpbm-10.58.01/converter/ppm/ximtoppm.c.security-code netpbm-10.58.01/converter/ppm/ximtoppm.c
--- netpbm-10.58.01/converter/ppm/ximtoppm.c.security-code 2012-04-09 15:31:44.000000000 +0200
+++ netpbm-10.58.01/converter/ppm/ximtoppm.c 2012-04-09 15:40:03.216619626 +0200

View file

@ -1,10 +1,10 @@
# Template file for 'netpbm'
pkgname=netpbm
# from http://svn.code.sf.net/p/netpbm/code/advanced/doc/HISTORY
version=10.81.0
version=10.81.01
revision=1
_githash=a5fb397b3ab3ac6b2c17c72598036bedbdca1816
_githash_guide=ad3acab4d1ef5acd4a232c2bec3590620cd0edea
_githash=4e026d12139bb3ea85a6c5c70c51f8dbebcfe524
_githash_guide=6e397b236ac2748075516f06b157180b8e440c00
create_wrksrc=yes
build_wrksrc="netpbm-mirror-${_githash}"
hostmakedepends="pkg-config perl python flex"
@ -17,8 +17,8 @@ homepage="http://netpbm.sourceforge.net/"
nocross=yes
distfiles="https://github.com/chneukirchen/netpbm-mirror/archive/${_githash}.tar.gz
https://github.com/chneukirchen/netpbm-mirror/archive/${_githash_guide}.tar.gz"
checksum="ba1a03998d920f33a42450f583cd9024c90bb986c8b6a4ab7244d660deef593c
55678f15a2ade5ed4c75f988a05296c895042e58a8c24829929562b3344a5349"
checksum="ddc6f81a04aeda2a2e74718c02eaf4c08892dbba03639e5f048513524485522a
c045f227dcdd8b0e47c21ecd3a10b870f17ed0ca0b7641374946bad53020b661"
post_extract() {
cd $build_wrksrc