[arch-commits] Commit in netpbm/trunk (PKGBUILD netpbm-security-code.patch)

Eric Bélanger eric at archlinux.org
Thu Jan 8 18:26:58 UTC 2015


    Date: Thursday, January 8, 2015 @ 19:26:57
  Author: eric
Revision: 228758

upgpkg: netpbm 10.69.02-1

Upstream update

Modified:
  netpbm/trunk/PKGBUILD
  netpbm/trunk/netpbm-security-code.patch

----------------------------+
 PKGBUILD                   |    7 ++++---
 netpbm-security-code.patch |   16 ++--------------
 2 files changed, 6 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-08 17:28:13 UTC (rev 228757)
+++ PKGBUILD	2015-01-08 18:26:57 UTC (rev 228758)
@@ -2,7 +2,7 @@
 # Maintainer: 
 
 pkgname=netpbm
-pkgver=10.67.00
+pkgver=10.69.02
 pkgrel=1
 pkgdesc="A toolkit for manipulation of graphic images"
 arch=('i686' 'x86_64')
@@ -9,7 +9,7 @@
 license=('custom' 'BSD' 'GPL' 'LGPL')
 url="http://netpbm.sourceforge.net/"
 depends=('perl' 'libpng' 'libtiff' 'libxml2')
-makedepends=('python2' 'jbigkit')
+makedepends=('python2' 'jbigkit' 'subversion')
 options=('!makeflags')
 # Get docs with: wget --recursive --relative -nH http://netpbm.sourceforge.net/doc/
 source=(svn://svn.code.sf.net/p/netpbm/code/advanced
@@ -19,8 +19,9 @@
           '25a58975bd8cd383238b4ae31f4405c60914faac'
           'SKIP'
           'b79cf9d42488fea065ba16262ed97694c47af08d'
-          '4e9d91516d79d2099ba4bd47434e6bb12c52bcc4'
+          '313e040ea74eb73675aa420b6f54e1f4452c4769'
           'c67a63c010353de3ecac3ad72ba76bbb85e4ed4c')
+validpgpkeys=('5357F3B111688D88C1D88119FCF2CB179205AC90')
 
 pkgver() {
   cd advanced

Modified: netpbm-security-code.patch
===================================================================
--- netpbm-security-code.patch	2015-01-08 17:28:13 UTC (rev 228757)
+++ netpbm-security-code.patch	2015-01-08 18:26:57 UTC (rev 228758)
@@ -768,9 +768,9 @@
      /* Finally, write out the data. */
 +    overflow_add(cols/MAX_COUNT, 1);
 +    overflow_add(cols, cols/MAX_COUNT+1);
-     packed = malloc((unsigned)(cols+cols/MAX_COUNT+1));
+     outBuf = malloc((unsigned)(cols+cols/MAX_COUNT+1));
      for (row = 0, oc = 0; row < rows; row++)
-         oc += putRow(stdout, row, cols, pixels[row], packed);
+         unsigned int rowSize;
 diff -up netpbm-10.58.01/converter/ppm/ppmtopj.c.security-code netpbm-10.58.01/converter/ppm/ppmtopj.c
 --- netpbm-10.58.01/converter/ppm/ppmtopj.c.security-code	2012-04-09 15:31:44.000000000 +0200
 +++ netpbm-10.58.01/converter/ppm/ppmtopj.c	2012-04-09 15:40:03.212619677 +0200
@@ -1145,18 +1145,6 @@
              hmargin = 2 * fontP->maxwidth;
          }
      }
-diff -up netpbm-10.58.01/generator/pgmcrater.c.security-code netpbm-10.58.01/generator/pgmcrater.c
---- netpbm-10.58.01/generator/pgmcrater.c.security-code	2012-04-09 15:31:34.000000000 +0200
-+++ netpbm-10.58.01/generator/pgmcrater.c	2012-04-09 15:40:03.226619502 +0200
-@@ -130,7 +130,7 @@ static void gencraters()
-     /* Acquire the elevation array and initialize it to mean
-        surface elevation. */
- 
--    MALLOCARRAY(aux, SCRX * SCRY);
-+    aux = (unsigned short *) malloc3(SCRX, SCRY, sizeof(short));
-     if (aux == NULL) 
-         pm_error("out of memory allocating elevation array");
- 
 diff -up netpbm-10.58.01/lib/libpam.c.security-code netpbm-10.58.01/lib/libpam.c
 --- netpbm-10.58.01/lib/libpam.c.security-code	2012-04-09 15:31:38.000000000 +0200
 +++ netpbm-10.58.01/lib/libpam.c	2012-04-09 15:40:03.227619490 +0200



More information about the arch-commits mailing list