#! /bin/sh /usr/share/dpatch/dpatch-run ## dcraw-m.dpatch by Sebastian Harl ## ## DP: Fixed the usage of dcraw(1)'s -m command line option. ## DP: Somewhere in between versions 8.39 and 8.80 the meaning and syntax of ## DP: dcraw's -m command line option has changed. Luckily -m used to be the ## DP: same as the "-o 0" option, which still exists. @DPATCH@ --- a/src/fileformat/pfsindcraw.in +++ b/src/fileformat/pfsindcraw.in @@ -51,7 +51,7 @@ file_pattern=$1 - dcraw -c -m -4 -w $file_pattern | pfsinppm - 2> /dev/null | \ + dcraw -c -o 0 -4 -w $file_pattern | pfsinppm - 2> /dev/null | \ pfstag --set "FILE_NAME=${file_pattern}" --set "LUMINANCE=RELATIVE" shift