summaryrefslogtreecommitdiff
path: root/graphics/png
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2013-12-26 15:59:20 +0000
committertron <tron@pkgsrc.org>2013-12-26 15:59:20 +0000
commit79d862f2a7733873c5220e7961998d903f5389e8 (patch)
tree86f65066c19fdbd4ffd13f5c242005e1282af8ac /graphics/png
parent06cafd2da13c78f8b562923e0930fff45f919a66 (diff)
downloadpkgsrc-79d862f2a7733873c5220e7961998d903f5389e8.tar.gz
Fix build with SunStudio compiler under Solaris.
Diffstat (limited to 'graphics/png')
-rw-r--r--graphics/png/distinfo3
-rw-r--r--graphics/png/patches/patch-contrib_tools_pngfix.c14
2 files changed, 16 insertions, 1 deletions
diff --git a/graphics/png/distinfo b/graphics/png/distinfo
index 07077234a31..db2bb7509cf 100644
--- a/graphics/png/distinfo
+++ b/graphics/png/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.109 2013/11/14 23:09:45 wiz Exp $
+$NetBSD: distinfo,v 1.110 2013/12/26 15:59:20 tron Exp $
SHA1 (libpng-1.6.7.tar.xz) = d2917fe56d416354a0dffdc852401b364624a7de
RMD160 (libpng-1.6.7.tar.xz) = fec3676e60e019e3b2fb84c1470baec4fd9105de
Size (libpng-1.6.7.tar.xz) = 873472 bytes
SHA1 (patch-aa) = 080c890ee48923db959fcdeeb12e4a5a27845138
+SHA1 (patch-contrib_tools_pngfix.c) = 76d84ef9db87cb3e04e33c94a442110b2ab115da
diff --git a/graphics/png/patches/patch-contrib_tools_pngfix.c b/graphics/png/patches/patch-contrib_tools_pngfix.c
new file mode 100644
index 00000000000..3d508340cb1
--- /dev/null
+++ b/graphics/png/patches/patch-contrib_tools_pngfix.c
@@ -0,0 +1,14 @@
+$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"