netpbm: update to 11.06.00.

This commit is contained in:
Leah Neukirchen 2024-04-05 15:04:10 +02:00
parent 56f9b564ef
commit f49c77de86
2 changed files with 5 additions and 17 deletions

View File

@ -176,18 +176,6 @@ diff -up netpbm-10.58.01/converter/ppm/ppmtomitsu.c.security-code netpbm-10.58.0
medias.maxcols *= 2;
medias.maxrows *= 2;
}
diff -up netpbm-10.58.01/editor/pamcut.c.security-code netpbm-10.58.01/editor/pamcut.c
--- netpbm-10.58.01/editor/pamcut.c.security-code 2012-04-09 15:31:33.000000000 +0200
+++ netpbm-10.58.01/editor/pamcut.c 2012-04-09 15:40:03.218619602 +0200
@@ -655,6 +655,8 @@ cutOneImage(FILE * const ifP
outpam = inpam; /* Initial value -- most fields should be same */
outpam.file = ofP;
+ overflow_add(rightcol, 1);
+ overflow_add(bottomrow, 1);
outpam.width = rightcol - leftcol + 1;
outpam.height = bottomrow - toprow + 1;
diff -up netpbm-10.58.01/editor/pnmgamma.c.security-code netpbm-10.58.01/editor/pnmgamma.c
--- netpbm-10.58.01/editor/pnmgamma.c.security-code 2012-04-09 15:31:34.000000000 +0200
+++ netpbm-10.58.01/editor/pnmgamma.c 2012-04-09 15:40:03.220619577 +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=11.05.03
version=11.06.00
revision=1
_githash=19387d1be30e80e8c4e865bfe053aed1094ca8af
_githash_guide=6b76a2a4c4ca084113a87c1e7e8376609a722626
_githash=81c59f730dacf62c927eb57dcadeecffe8b8daea
_githash_guide=f253c206bb37949ea28d4d52022cc8c424638a51
create_wrksrc=yes
build_wrksrc="netpbm-mirror-${_githash}"
hostmakedepends="flex perl pkg-config python3"
@ -16,8 +16,8 @@ license="BSD-3-Clause,GPL-2.0-only,custom:netpbm"
homepage="http://netpbm.sourceforge.net/"
distfiles="https://github.com/leahneukirchen/netpbm-mirror/archive/${_githash}.tar.gz
https://github.com/leahneukirchen/netpbm-mirror/archive/${_githash_guide}.tar.gz"
checksum="3d098112c776f4bf23078ea08f6bc49f690f75abdf238eb65471657f5c874f78
f846e4a226a35924fffe01050177fb4959a21020f9ac067687ede05424071a12"
checksum="9c41759a07910be72100819ce886cf41603da48d1685246a896e6bcef5d22adc
afd5feb306622cae50b5a3f3517574bbf0458fc715477dfeec7b5d2b75f6a780"
post_extract() {
cd $build_wrksrc