Ticket #17500: ufraw.diff

File ufraw.diff, 2.0 KB (added by dbevans (David B. Evans), 16 years ago)

Patch to update port

  • files/patch-uf_gtk.cc.diff

     
    1 --- uf_gtk.cc-dist      2007-12-28 09:01:39.000000000 -0500
    2 +++ uf_gtk.cc   2007-12-28 09:06:34.000000000 -0500
    3 @@ -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

     
    33PortSystem       1.0
    44
    55name             ufraw
    6 version          0.13
     6version          0.14.1
    77categories       graphics
    88maintainers      frank.mcpherson@janusresearch.com
    99description      Unidentified Flying Raw (UFRaw)
     
    1818homepage         http://ufraw.sourceforge.net
    1919platforms        darwin
    2020master_sites     sourceforge
    21 checksums        md5 6470f787a8f62f6e1642161e3c8d557b
     21
     22checksums        md5     cc204ecc7009b947a265391bd3aec236 \
     23                 sha1    1234717d4da8f35f015fbcc678bd467c98969571 \
     24                 rmd160  250cf7d93d120fde302b9533e2182b0ae421df87
     25
    2226distname         ufraw-${version}
    23 depends_lib      lib:libgimp-2.0:gimp2 port:exiv2
     27depends_lib      lib:libgimp-2.0:gimp2 port:exiv2 port:gtkimageview
    2428
    2529configure.args   --mandir=${prefix}/share/man --enable-extras --with-exiv2
    2630
    27 patchfiles patch-uf_gtk.cc.diff
     31livecheck.regex  "<title>${name} ${name}-(\\d+(?:\\.\\d+)*) released.*</title>"