diff options
Diffstat (limited to 'graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch')
-rw-r--r-- | graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch b/graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch new file mode 100644 index 0000000000..9b634b69a2 --- /dev/null +++ b/graphics/ufraw/patches/05_fix_build_due_to_unsigned_char.patch @@ -0,0 +1,14 @@ +Author: Philip Rinn <rinni@inventati.org> +Description: Fix build with C++11 as char is unsigned on some architectures +Last-update: 2015-11-04 +--- a/dcraw.cc ++++ b/dcraw.cc +@@ -2054,7 +2054,7 @@ + + void CLASS kodak_radc_load_raw() + { +- static const char src[] = { ++ static const signed char src[] = { + 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8, + 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8, + 2,1, 2,3, 3,0, 3,2, 3,4, 4,6, 5,5, 6,7, 6,8, |