Revision: 32426 http://trac.macosforge.org/projects/macports/changeset/32426 Author: ryandesign@macports.org Date: 2007-12-31 01:45:56 -0800 (Mon, 31 Dec 2007) Log Message: ----------- ufraw: maintainer update to 0.13; closes #13741 Modified Paths: -------------- trunk/dports/graphics/ufraw/Portfile Added Paths: ----------- trunk/dports/graphics/ufraw/files/patch-uf_gtk.cc.diff Removed Paths: ------------- trunk/dports/graphics/ufraw/files/patch-ufraw_api.cc Modified: trunk/dports/graphics/ufraw/Portfile =================================================================== --- trunk/dports/graphics/ufraw/Portfile 2007-12-31 09:36:13 UTC (rev 32425) +++ trunk/dports/graphics/ufraw/Portfile 2007-12-31 09:45:56 UTC (rev 32426) @@ -1,8 +1,9 @@ # $Id$ PortSystem 1.0 + name ufraw -version 0.12 +version 0.13 categories graphics maintainers frank.mcpherson@janusresearch.com description Unidentified Flying Raw (UFRaw) @@ -13,14 +14,14 @@ its own or as a Gimp plug-in. It reads raw images using Dave Coffin's \ raw conversion utility - DCRaw. UFRaw supports basic color management \ using Little CMS, allowing the user to apply color profiles. - + homepage http://ufraw.sourceforge.net platforms darwin master_sites sourceforge -checksums md5 b2c104938c1c3eb47e7605432bbd3157 +checksums md5 6470f787a8f62f6e1642161e3c8d557b distname ufraw-${version} depends_lib lib:libgimp-2.0:gimp2 port:exiv2 configure.args --mandir=${prefix}/share/man --enable-extras --with-exiv2 -patchfiles patch-ufraw_api.cc +patchfiles patch-uf_gtk.cc.diff Added: trunk/dports/graphics/ufraw/files/patch-uf_gtk.cc.diff =================================================================== --- trunk/dports/graphics/ufraw/files/patch-uf_gtk.cc.diff (rev 0) +++ trunk/dports/graphics/ufraw/files/patch-uf_gtk.cc.diff 2007-12-31 09:45:56 UTC (rev 32426) @@ -0,0 +1,21 @@ +--- uf_gtk.cc-dist 2007-12-28 09:01:39.000000000 -0500 ++++ uf_gtk.cc 2007-12-28 09:06:34.000000000 -0500 +@@ -117,8 +117,7 @@ + static OSErr _uf_lcms_flatten_profile(SInt32 command, + SInt32 *size, void *data, void *refCon) + { +- ProfileTransfer *transfer = refCon; +- ++ ProfileTransfer *transfer = static_cast<ProfileTransfer*>(refCon); + switch (command) + { + case openWriteSpool: +@@ -126,7 +125,7 @@ + break; + + case writeSpool: +- transfer->data = g_realloc(transfer->data, transfer->len + *size); ++ transfer->data = static_cast<guchar*>(g_realloc(transfer->data, transfer->len + *size)); + memcpy(transfer->data + transfer->len, data, *size); + transfer->len += *size; + break; Deleted: trunk/dports/graphics/ufraw/files/patch-ufraw_api.cc =================================================================== --- trunk/dports/graphics/ufraw/files/patch-ufraw_api.cc 2007-12-31 09:36:13 UTC (rev 32425) +++ trunk/dports/graphics/ufraw/files/patch-ufraw_api.cc 2007-12-31 09:45:56 UTC (rev 32426) @@ -1,19 +0,0 @@ ---- dcraw_api.cc-dist 2007-08-06 12:40:36.000000000 -0400 -+++ dcraw_api.cc 2007-08-06 12:41:49.000000000 -0400 -@@ -23,6 +23,15 @@ - #include <float.h> - #include <glib.h> - #include <glib/gi18n.h> /*For _(String) definition - NKBJ*/ -+ -+/* For ufraw config.h */ -+#ifdef HAVE_CONFIG_H -+#include "config.h" -+#endif -+ -+#ifdef HAVE_SYS_TYPES_H -+#include <sys/types.h> /*For off_t */ -+#endif - #include "dcraw_api.h" - #include "dcraw.h" - -