Commits

Marcus Calhoun-Lopez authored d92ca8d4eff
ufraw: modify patch file to apply cleanly
No tags

graphics/ufraw/files/patch-dcraw.cc.diff

Modified
20 20 (cinfo.output_height*2 != height ) ||
21 21 @@ -2493,7 +2493,7 @@
22 22 if (tile_length < INT_MAX)
23 23 fseek (ifp, get4(), SEEK_SET);
24 24 jpeg_stdio_src (&cinfo, ifp);
25 25 - jpeg_read_header (&cinfo, TRUE);
26 26 + jpeg_read_header (&cinfo, (boolean) TRUE);
27 27 jpeg_start_decompress (&cinfo);
28 28 buf = (*cinfo.mem->alloc_sarray)
29 29 ((j_common_ptr) &cinfo, JPOOL_IMAGE, cinfo.output_width*3, 1);
30 -@@ -9256,7 +9256,7 @@ canon_a5:
30 +@@ -9242,7 +9242,7 @@ canon_a5:
31 31 if (make[0] == 'O') {
32 32 i = find_green (12, 32, 1188864, 3576832);
33 33 c = find_green (12, 32, 2383920, 2387016);
34 34 - if (abs(i) < abs(c)) {
35 35 + if (i < c) {
36 36 SWAP(i,c);
37 37 load_flags = 24;
38 38 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut