From 1f4756bcf856644eb9737d7602a972f64b8930b4 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Fri, 4 Jan 2019 15:31:40 +0100 Subject: [PATCH] ufraw: add patch to fix compilation for arm --- srcpkgs/ufraw/patches/03_fix-unsigned-char.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/ufraw/patches/03_fix-unsigned-char.patch diff --git a/srcpkgs/ufraw/patches/03_fix-unsigned-char.patch b/srcpkgs/ufraw/patches/03_fix-unsigned-char.patch new file mode 100644 index 00000000000..333f56a7462 --- /dev/null +++ b/srcpkgs/ufraw/patches/03_fix-unsigned-char.patch @@ -0,0 +1,14 @@ +Source: written by John Paul Adrian Glaubitz for Debian +Upstream: https://sourceforge.net/p/ufraw/bugs/417 +Reason: fixes a compilation failure on arm architectures +--- dcraw.cc ++++ dcraw.cc +@@ -2285,7 +2285,7 @@ void CLASS quicktake_100_load_raw() + + 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,