Thu Dec 26 15:59:20 2013 UTC ()
Fix build with SunStudio compiler under Solaris.


(tron)
diff -r1.109 -r1.110 pkgsrc/graphics/png/distinfo
diff -r0 -r1.1 pkgsrc/graphics/png/patches/patch-contrib_tools_pngfix.c

cvs diff -r1.109 -r1.110 pkgsrc/graphics/png/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/png/distinfo 2013/11/14 23:09:45 1.109
+++ pkgsrc/graphics/png/distinfo 2013/12/26 15:59:20 1.110
@@ -1,6 +1,7 @@ @@ -1,6 +1,7 @@
1$NetBSD: distinfo,v 1.109 2013/11/14 23:09:45 wiz Exp $ 1$NetBSD: distinfo,v 1.110 2013/12/26 15:59:20 tron Exp $
2 2
3SHA1 (libpng-1.6.7.tar.xz) = d2917fe56d416354a0dffdc852401b364624a7de 3SHA1 (libpng-1.6.7.tar.xz) = d2917fe56d416354a0dffdc852401b364624a7de
4RMD160 (libpng-1.6.7.tar.xz) = fec3676e60e019e3b2fb84c1470baec4fd9105de 4RMD160 (libpng-1.6.7.tar.xz) = fec3676e60e019e3b2fb84c1470baec4fd9105de
5Size (libpng-1.6.7.tar.xz) = 873472 bytes 5Size (libpng-1.6.7.tar.xz) = 873472 bytes
6SHA1 (patch-aa) = 080c890ee48923db959fcdeeb12e4a5a27845138 6SHA1 (patch-aa) = 080c890ee48923db959fcdeeb12e4a5a27845138
 7SHA1 (patch-contrib_tools_pngfix.c) = 76d84ef9db87cb3e04e33c94a442110b2ab115da

File Added: pkgsrc/graphics/png/patches/Attic/patch-contrib_tools_pngfix.c
$NetBSD: patch-contrib_tools_pngfix.c,v 1.1 2013/12/26 15:59:20 tron Exp $

Fix build with C compilers other than GCC.

--- contrib/tools/pngfix.c.orig	2013-11-14 19:03:02.000000000 +0000
+++ contrib/tools/pngfix.c	2013-12-26 15:44:27.000000000 +0000
@@ -32,7 +32,6 @@
 #  define FIX_GCC volatile
 #else
 #  define FIX_GCC
-#  error not tested
 #endif
 
 #define PROGRAM_NAME "pngfix"