Package: release.debian.org
Severity: normal
Tags: patch
User: release.debian....@packages.debian.org
Usertags: unblock

Hi!

ufraw was previously failing to build from source on architectures
like armel and armhf because of the signedness of a single array
being declared incorrectly (char instead of signed char).

The attached debdiff fixes the packages.

unblock ufraw/0.22-1.1

-- System Information:
Debian Release: 9.0
  APT prefers buildd-unstable
  APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru ufraw-0.22/debian/changelog ufraw-0.22/debian/changelog
--- ufraw-0.22/debian/changelog 2016-05-13 15:11:42.000000000 +0200
+++ ufraw-0.22/debian/changelog 2017-02-27 14:31:26.000000000 +0100
@@ -1,3 +1,10 @@
+ufraw (0.22-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix signedness of src[]. (Closes: #856227).
+
+ -- John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>  Mon, 27 Feb 2017 
14:31:26 +0100
+
 ufraw (0.22-1) unstable; urgency=low
 
   * New upstream release (Closes: #803673).
diff -Nru ufraw-0.22/debian/patches/03_fix-unsigned-char.patch 
ufraw-0.22/debian/patches/03_fix-unsigned-char.patch
--- ufraw-0.22/debian/patches/03_fix-unsigned-char.patch        1970-01-01 
01:00:00.000000000 +0100
+++ ufraw-0.22/debian/patches/03_fix-unsigned-char.patch        2017-02-27 
14:31:19.000000000 +0100
@@ -0,0 +1,15 @@
+Description: Fix unsigned char declaration of src[]
+Author: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
+Last-Update: 2017-02-27
+
+--- ufraw-0.22.orig/dcraw.cc
++++ ufraw-0.22/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,
diff -Nru ufraw-0.22/debian/patches/series ufraw-0.22/debian/patches/series
--- ufraw-0.22/debian/patches/series    2016-05-13 15:10:26.000000000 +0200
+++ ufraw-0.22/debian/patches/series    2017-02-27 14:30:30.000000000 +0100
@@ -1,2 +1,3 @@
 01_no-gimp-remote.patch
 02_CVE-2015-8366.patch
+03_fix-unsigned-char.patch

Reply via email to