summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2016-08-27 00:26:26 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-27 14:45:21 +0200
commit97fe953bf61116a2c7898344938c3cd18189e6fa (patch)
treed2b169a659e7489291228c2277354142578b9c5d
parente74d4fc4932df4ea42381acb44d616241275b79a (diff)
downloadbuildroot-97fe953bf61116a2c7898344938c3cd18189e6fa.tar.gz
buildroot-97fe953bf61116a2c7898344938c3cd18189e6fa.zip
package/libraw: fix gcc-6 build
Grab the patch from Debian. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/libraw/libraw.hash1
-rw-r--r--package/libraw/libraw.mk3
2 files changed, 4 insertions, 0 deletions
diff --git a/package/libraw/libraw.hash b/package/libraw/libraw.hash
index e23ca9ce2c..29794252f1 100644
--- a/package/libraw/libraw.hash
+++ b/package/libraw/libraw.hash
@@ -1,2 +1,3 @@
# Locally calculated
sha256 e599651a4cc37e00cfc2d2b56be87c3a4e4dae2c360b680fe9ab3f93d07cdea1 LibRaw-0.17.1.tar.gz
+sha256 3c09bc4d70268e78798696c5ea3a8cc65fe4e161811d5321fc3ef2ca012d8fd1 0001-Fix_gcc6_narrowing_conversion.patch?id=d890937aaca6359df45a66b35e547c94ca564823
diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk
index 7fc4709e8f..d76a1808d5 100644
--- a/package/libraw/libraw.mk
+++ b/package/libraw/libraw.mk
@@ -7,6 +7,9 @@
LIBRAW_VERSION = 0.17.1
LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz
LIBRAW_SITE = http://www.libraw.org/data
+LIBRAW_PATCH = \
+ https://anonscm.debian.org/cgit/pkg-phototools/libraw.git/plain/debian/patches/0001-Fix_gcc6_narrowing_conversion.patch?id=d890937aaca6359df45a66b35e547c94ca564823
+
LIBRAW_INSTALL_STAGING = YES
# we patch configure.ac
LIBRAW_AUTORECONF = YES
OpenPOWER on IntegriCloud