diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-01-30 17:17:13 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-01-31 14:20:36 +0100 |
commit | 7f81111da0b14768039658508abcd47c5a98d45c (patch) | |
tree | 39f71b16f6ff6a3b740b16de384de82903a5e910 /package/libraw | |
parent | 7d1feadb19fb78dc816b1e1ece46f02c53a0afbe (diff) | |
download | buildroot-7f81111da0b14768039658508abcd47c5a98d45c.tar.gz buildroot-7f81111da0b14768039658508abcd47c5a98d45c.zip |
package/libraw: Remove /usr/local from configure.ac
Build fails with BR2_COMPILER_PARANOID_UNSAFE_PATH=y
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libraw')
-rw-r--r-- | package/libraw/0001-Remove-paths-which-break-cross-compilation.patch | 29 | ||||
-rw-r--r-- | package/libraw/libraw.mk | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/package/libraw/0001-Remove-paths-which-break-cross-compilation.patch b/package/libraw/0001-Remove-paths-which-break-cross-compilation.patch new file mode 100644 index 0000000000..0f0eee1a64 --- /dev/null +++ b/package/libraw/0001-Remove-paths-which-break-cross-compilation.patch @@ -0,0 +1,29 @@ +From 1f9c2ebc9c65e8ce7fdbece55d578cf00c6c4b46 Mon Sep 17 00:00:00 2001 +From: Bernd Kuhls <bernd.kuhls@t-online.de> +Date: Sat, 30 Jan 2016 17:06:04 +0100 +Subject: [PATCH 1/1] Remove paths which break cross-compilation + +Patch sent upstream: https://github.com/LibRaw/LibRaw/pull/57 + +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> +--- + configure.ac | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 9bb07b2..78064d9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -16,9 +16,6 @@ AC_SUBST(LIBTOOL_DEPS) + + # Config files to generate + +-CPPFLAGS="$CPPFLAGS -I/usr/local/include" +-LDFLAGS="$LDFLAGS -L/usr/local/lib" +- + AC_CONFIG_FILES([ + Makefile + libraw.pc +-- +2.7.0.rc3 + diff --git a/package/libraw/libraw.mk b/package/libraw/libraw.mk index 2f8643dde4..a4ab92f04e 100644 --- a/package/libraw/libraw.mk +++ b/package/libraw/libraw.mk @@ -8,6 +8,8 @@ LIBRAW_VERSION = 0.17.1 LIBRAW_SOURCE = LibRaw-$(LIBRAW_VERSION).tar.gz LIBRAW_SITE = http://www.libraw.org/data LIBRAW_INSTALL_STAGING = YES +# we patch configure.ac +LIBRAW_AUTORECONF = YES LIBRAW_CONF_OPTS += \ --disable-examples \ --disable-lcms \ |