ports/142954: [PATCH]graphics/exact-image: update to 0.7.5

bf bf1783 at gmail.com
Tue Jan 19 04:00:20 UTC 2010


>Number:         142954
>Category:       ports
>Synopsis:       [PATCH]graphics/exact-image: update to 0.7.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 19 04:00:19 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        9-CURRENT amd64
>Organization:
-
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN exact-image.orig/Makefile exact-image/Makefile
--- exact-image.orig/Makefile	2010-01-17 01:15:24.000000000 -0500
+++ exact-image/Makefile	2009-09-23 11:16:03.000000000 -0400
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	exact-image
-PORTVERSION=	0.7.4
-PORTREVISION=	1
+PORTVERSION=	0.7.5
 CATEGORIES=	graphics
 MASTER_SITES=	http://dl.exactcode.de/oss/${PORTNAME}/
 
diff -ruN exact-image.orig/distinfo exact-image/distinfo
--- exact-image.orig/distinfo	2010-01-17 01:15:24.000000000 -0500
+++ exact-image/distinfo	2009-09-28 14:03:22.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (exact-image-0.7.4.tar.bz2) = ecf43d9878a759ec056942c533c63ddc
-SHA256 (exact-image-0.7.4.tar.bz2) = e091a0b13eccd97a97c9233d939e70a154ffc586e5e509f0b4639e5cdc14db40
-SIZE (exact-image-0.7.4.tar.bz2) = 531051
+MD5 (exact-image-0.7.5.tar.bz2) = 9cf60553cf5ed1bbbf9a59a2e17ac0a2
+SHA256 (exact-image-0.7.5.tar.bz2) = d43635e06fdb48ec8c23bbfd66f40c5a1fc64c81913220f267dd7449050d0c69
+SIZE (exact-image-0.7.5.tar.bz2) = 532314
diff -ruN exact-image.orig/files/patch-bardecode__code128.hh exact-image/files/patch-bardecode__code128.hh
--- exact-image.orig/files/patch-bardecode__code128.hh	1969-12-31 19:00:00.000000000 -0500
+++ exact-image/files/patch-bardecode__code128.hh	2010-01-16 23:59:30.000000000 -0500
@@ -0,0 +1,11 @@
+--- bardecode/code128.hh.orig	2010-01-16 23:58:07.000000000 -0500
++++ bardecode/code128.hh	2010-01-16 23:38:25.000000000 -0500
+@@ -235,7 +235,7 @@
+         switch (code_set) {
+         case code_set_c:
+             if (c < 100) {
+-                char str[2];
++                char str[3];
+                 sprintf(str,"%02d",c);
+                 return std::string(str);
+             } else {
diff -ruN exact-image.orig/files/patch-codecs__bmp.cc exact-image/files/patch-codecs__bmp.cc
--- exact-image.orig/files/patch-codecs__bmp.cc	2010-01-17 01:15:24.000000000 -0500
+++ exact-image/files/patch-codecs__bmp.cc	2010-01-17 00:33:29.000000000 -0500
@@ -1,6 +1,31 @@
---- codecs/bmp.cc.orig	2009-07-02 17:37:58.000000000 -0400
-+++ codecs/bmp.cc	2009-07-02 18:38:49.000000000 -0400
-@@ -628,9 +628,9 @@
+--- codecs/bmp.cc.orig	2009-04-27 13:54:29.000000000 -0400
++++ codecs/bmp.cc	2010-01-17 00:32:01.000000000 -0500
+@@ -441,6 +441,8 @@
+       uint8_t* row_data = (uint8_t*) malloc (file_stride);
+       if (!data || !row_data) {
+ 	std::cerr << "Can't allocate space for image buffer\n";
++	free(data);
++	free(row_data);
+ 	goto bad1;
+       }
+       
+@@ -522,6 +524,7 @@
+       comprbuf = (uint8_t *) malloc( compr_size );
+       if (!comprbuf) {
+ 	std::cerr << "Can't allocate space for compressed scanline buffer\n";
++	free(comprbuf);
+ 	goto bad1;
+       }
+       uncomprbuf = (uint8_t *) malloc( uncompr_size );
+@@ -593,6 +596,7 @@
+       data = (uint8_t *) malloc( uncompr_size );
+       if (!data) {
+ 	std::cerr << "Can't allocate space for final uncompressed scanline buffer\n";
++	free(data);
+ 	goto bad1;
+       }
+       
+@@ -628,9 +632,9 @@
        
        colorspace_de_palette (image, clr_tbl_size, rmap, gmap, bmap);
        
diff -ruN exact-image.orig/files/patch-codecs__jpeg.cc exact-image/files/patch-codecs__jpeg.cc
--- exact-image.orig/files/patch-codecs__jpeg.cc	2010-01-17 01:15:24.000000000 -0500
+++ exact-image/files/patch-codecs__jpeg.cc	2010-01-16 21:57:01.000000000 -0500
@@ -1,11 +1,11 @@
---- codecs/jpeg.cc.orig	2009-07-02 18:34:41.000000000 -0400
-+++ codecs/jpeg.cc	2009-07-02 18:43:42.000000000 -0400
+--- codecs/jpeg.cc.orig	2009-06-14 08:19:28.000000000 -0400
++++ codecs/jpeg.cc	2010-01-16 21:51:34.000000000 -0500
 @@ -683,7 +683,7 @@
       * We need to clean up the JPEG object, close the input file, and return.
       */
      jpeg_destroy_decompress (cinfo);
 -    free (cinfo);
-+    delete[] cinfo;
++    delete cinfo;
      return false;
    }
    


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list