Ticket #17500: ufraw.diff
File ufraw.diff, 2.0 KB (added by dbevans (David B. Evans), 16 years ago) |
---|
-
files/patch-uf_gtk.cc.diff
1 --- uf_gtk.cc-dist 2007-12-28 09:01:39.000000000 -05002 +++ uf_gtk.cc 2007-12-28 09:06:34.000000000 -05003 @@ -117,8 +117,7 @@4 static OSErr _uf_lcms_flatten_profile(SInt32 command,5 SInt32 *size, void *data, void *refCon)6 {7 - ProfileTransfer *transfer = refCon;8 -9 + ProfileTransfer *transfer = static_cast<ProfileTransfer*>(refCon);10 switch (command)11 {12 case openWriteSpool:13 @@ -126,7 +125,7 @@14 break;15 16 case writeSpool:17 - transfer->data = g_realloc(transfer->data, transfer->len + *size);18 + transfer->data = static_cast<guchar*>(g_realloc(transfer->data, transfer->len + *size));19 memcpy(transfer->data + transfer->len, data, *size);20 transfer->len += *size;21 break; -
Portfile
3 3 PortSystem 1.0 4 4 5 5 name ufraw 6 version 0.1 36 version 0.14.1 7 7 categories graphics 8 8 maintainers frank.mcpherson@janusresearch.com 9 9 description Unidentified Flying Raw (UFRaw) … … 18 18 homepage http://ufraw.sourceforge.net 19 19 platforms darwin 20 20 master_sites sourceforge 21 checksums md5 6470f787a8f62f6e1642161e3c8d557b 21 22 checksums md5 cc204ecc7009b947a265391bd3aec236 \ 23 sha1 1234717d4da8f35f015fbcc678bd467c98969571 \ 24 rmd160 250cf7d93d120fde302b9533e2182b0ae421df87 25 22 26 distname ufraw-${version} 23 depends_lib lib:libgimp-2.0:gimp2 port:exiv2 27 depends_lib lib:libgimp-2.0:gimp2 port:exiv2 port:gtkimageview 24 28 25 29 configure.args --mandir=${prefix}/share/man --enable-extras --with-exiv2 26 30 27 patchfiles patch-uf_gtk.cc.diff 31 livecheck.regex "<title>${name} ${name}-(\\d+(?:\\.\\d+)*) released.*</title>"