fix build with png-1.5
PR pkg/44522
This commit is contained in:
parent
3ccec6f131
commit
86642abf8f
2 changed files with 16 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.22 2010/06/16 15:24:10 drochner Exp $
|
||||
$NetBSD: distinfo,v 1.23 2011/02/06 16:25:27 ryoon Exp $
|
||||
|
||||
SHA1 (ufraw-0.17.tar.gz) = 0762b238cdcd708948b5aeac552f7f2b1edb1846
|
||||
RMD160 (ufraw-0.17.tar.gz) = 785d46e6936f176220dbf77f86dd373ef0250a79
|
||||
Size (ufraw-0.17.tar.gz) = 1158114 bytes
|
||||
SHA1 (patch-ufraw_writer.c) = 6bd48b6228ba789808661e45dbbdf1ee3aaa7426
|
||||
|
|
14
graphics/gimp-ufraw/patches/patch-ufraw_writer.c
Normal file
14
graphics/gimp-ufraw/patches/patch-ufraw_writer.c
Normal file
|
@ -0,0 +1,14 @@
|
|||
$NetBSD: patch-ufraw_writer.c,v 1.1 2011/02/06 16:25:27 ryoon Exp $
|
||||
|
||||
png.h no longer includes zlib.h.
|
||||
|
||||
--- ufraw_writer.c.orig 2010-02-23 17:53:25.000000000 +0000
|
||||
+++ ufraw_writer.c
|
||||
@@ -24,6 +24,7 @@
|
||||
#endif
|
||||
#ifdef HAVE_LIBPNG
|
||||
#include <png.h>
|
||||
+#include <zlib.h>
|
||||
#endif
|
||||
|
||||
#ifdef _OPENMP
|
Loading…
Reference in a new issue