pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44522: gimp-ufraw fails to build with png 1.5
>Number: 44522
>Category: pkg
>Synopsis: gimp-ufraw fails to build with png 1.5
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 06 15:00:00 +0000 2011
>Originator: Ryo ONODERA
>Release: NetBSD 5.99.44
>Organization:
>Environment:
System: NetBSD hydrogen.elements.tetera.org 5.99.44 NetBSD 5.99.44 (LEAFGIRL2)
#0: Sat Jan 29 21:02:08 JST 2011
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/LEAFGIRL2
i386
Architecture: i386
Machine: i386
>Description:
gimp-ufraw fails to build with png 1.5.
zlib.h should be included too.
>How-To-Repeat:
>Fix:
diff -urN -x CVS ../gimp-ufraw/Makefile ./Makefile
--- ../gimp-ufraw/Makefile 2011-01-13 22:38:04.000000000 +0900
+++ ./Makefile 2011-02-06 23:55:48.000000000 +0900
@@ -40,6 +40,7 @@
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/GConf/schemas.mk"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/exiv2/buildlink3.mk"
.include "../../graphics/gimp/buildlink3.mk"
.include "../../graphics/gtkimageview/buildlink3.mk"
diff -urN -x CVS ../gimp-ufraw/distinfo ./distinfo
--- ../gimp-ufraw/distinfo 2010-06-17 00:24:10.000000000 +0900
+++ ./distinfo 2011-02-06 23:50:41.000000000 +0900
@@ -3,3 +3,4 @@
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
diff -urN -x CVS ../gimp-ufraw/patches/patch-ufraw_writer.c
./patches/patch-ufraw_writer.c
--- ../gimp-ufraw/patches/patch-ufraw_writer.c 1970-01-01 09:00:00.000000000
+0900
+++ ./patches/patch-ufraw_writer.c 2011-02-06 23:54:16.000000000 +0900
@@ -0,0 +1,14 @@
+$NetBSD$
+
+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
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index