netpbm: update to 10.96.03.
This commit is contained in:
parent
c671fd5086
commit
28f04a1585
2 changed files with 3 additions and 15 deletions
|
@ -158,18 +158,6 @@ diff -up netpbm-10.58.01/converter/pbm/mdatopbm.c.security-code netpbm-10.58.01/
|
|||
|
||||
data = pbm_allocarray(nOutCols, nOutRows);
|
||||
|
||||
diff -up netpbm-10.58.01/converter/pbm/mgrtopbm.c.security-code netpbm-10.58.01/converter/pbm/mgrtopbm.c
|
||||
--- netpbm-10.58.01/converter/pbm/mgrtopbm.c.security-code 2012-04-09 15:31:45.000000000 +0200
|
||||
+++ netpbm-10.58.01/converter/pbm/mgrtopbm.c 2012-04-09 15:40:03.193619915 +0200
|
||||
@@ -65,6 +65,8 @@ readMgrHeader(FILE * const ifP,
|
||||
if (head.h_high < ' ' || head.l_high < ' ')
|
||||
pm_error("Invalid width field in MGR header");
|
||||
|
||||
+ overflow_add(*colsP, pad);
|
||||
+
|
||||
*colsP = (((int)head.h_wide - ' ') << 6) + ((int)head.l_wide - ' ');
|
||||
*rowsP = (((int)head.h_high - ' ') << 6) + ((int) head.l_high - ' ');
|
||||
*padrightP = ( ( *colsP + pad - 1 ) / pad ) * pad - *colsP;
|
||||
diff -up netpbm-10.58.01/converter/pbm/pbmtogem.c.security-code netpbm-10.58.01/converter/pbm/pbmtogem.c
|
||||
--- netpbm-10.58.01/converter/pbm/pbmtogem.c.security-code 2012-04-09 15:31:45.000000000 +0200
|
||||
+++ netpbm-10.58.01/converter/pbm/pbmtogem.c 2012-04-09 15:40:03.193619915 +0200
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'netpbm'
|
||||
pkgname=netpbm
|
||||
# from http://svn.code.sf.net/p/netpbm/code/advanced/doc/HISTORY
|
||||
version=10.96.02
|
||||
version=10.96.03
|
||||
revision=1
|
||||
_githash=4d5728723616f3713725d85df790666e8d75b963
|
||||
_githash=54081f1e108cb4a385f951cbc293368829e39320
|
||||
_githash_guide=54910a3304543a702b0720c3b9c6d6be4ba12100
|
||||
create_wrksrc=yes
|
||||
build_wrksrc="netpbm-mirror-${_githash}"
|
||||
|
@ -16,7 +16,7 @@ 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="7b88f49bb1c7cf20ad1ad94ac8d5b6dd1648ababe3a5a70cace704a7fee7f20e
|
||||
checksum="b2184c438d2e9e7a7f99123196719b8a1d1d55a7d28607afb4842ba1ab550cbc
|
||||
b966580dcf5d72fc6a3cfa6c95d46206b9b4c252ec911e14633113c45cb49626"
|
||||
|
||||
post_extract() {
|
||||
|
|
Loading…
Reference in a new issue