[MacPorts] #15187: dcraw-8.86 Checksum error
#15187: dcraw-8.86 Checksum error ----------------------------+----------------------------------------------- Reporter: john@fstop.org | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: dcraw checksum | ----------------------------+----------------------------------------------- : sudo port -f install dcraw ---> Fetching dcraw ---> Attempting to fetch dcraw-8.86.tar.gz from http://www.cybercom.net/~dcoffin/dcraw/archive/ ---> Verifying checksum(s) for dcraw Error: Checksum (md5) mismatch for dcraw-8.86.tar.gz Error: Checksum (sha1) mismatch for dcraw-8.86.tar.gz Error: Checksum (rmd160) mismatch for dcraw-8.86.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15187> MacPorts </projects/macports> Ports system for Mac OS
#15187: dcraw-8.86 Checksum error -----------------------------+---------------------------------------------- Reporter: john@fstop.org | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: dcraw checksum -----------------------------+---------------------------------------------- Changes (by raimue@macports.org): * cc: ryandesign@macports.org (removed) * owner: macports-tickets@lists.macosforge.org => ryandesign@macports.org -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15187#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#15187: dcraw-8.86 Checksum error -----------------------------+---------------------------------------------- Reporter: john@fstop.org | Owner: ryandesign@macports.org Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: dcraw checksum -----------------------------+---------------------------------------------- Changes (by ryandesign@macports.org): * status: new => assigned Comment: Looks like the developer did a stealth-upgrade. Here's the difference between the old and new 8.86: {{{ diff -ru 8.86_0/dcraw/dcraw.c 8.86_1/dcraw/dcraw.c --- 8.86_0/dcraw/dcraw.c 2008-04-20 03:09:37.000000000 -0500 +++ 8.86_1/dcraw/dcraw.c 2008-04-29 13:22:52.000000000 -0500 @@ -19,8 +19,8 @@ *If you have not modified dcraw.c in any way, a link to my homepage qualifies as "full source code". - $Revision: 1.402 $ - $Date: 2008/04/20 08:09:37 $ + $Revision: 1.403 $ + $Date: 2008/04/29 18:18:53 $ */ #define VERSION "8.86" @@ -922,7 +922,7 @@ for (jcol=0; jcol < jwide; jcol++) { val = *rp++; if (jh.bits <= 12) - val = curve[val]; + val = curve[val & 0xfff]; if (cr2_slice[0]) { jidx = jrow*jwide + jcol; i = jidx / (cr2_slice[1]*jh.high); @@ -5941,7 +5941,8 @@ data_offset = off+24; } fseek (ifp, off+28, SEEK_SET); - if (fgetc(ifp) == 0xff && fgetc(ifp) == 0xd8) { + if (fgetc(ifp) == 0xff && fgetc(ifp) == 0xd8 + && thumb_length < len-28) { thumb_offset = off+28; thumb_length = len-28; write_thumb = &CLASS jpeg_thumb; }}} I'll update the portfile. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15187#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#15187: dcraw-8.86 Checksum error -----------------------------+---------------------------------------------- Reporter: john@fstop.org | Owner: ryandesign@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: dcraw checksum -----------------------------+---------------------------------------------- Changes (by ryandesign@macports.org): * status: assigned => closed * resolution: => fixed Comment: Fixed in r36478. Thanks for reporting the problem. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15187#comment:3> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts