From 51eeca9f9751f0f17958bd1c408c3c88b07b08c8 Mon Sep 17 00:00:00 2001 From: Alex Suykov Date: Sat, 10 Jan 2015 10:10:48 +0200 Subject: [PATCH] newt: avoid poisoned paths Fixes http://autobuild.buildroot.net/results/cb908f73b14e1510bea890167b3927afbf708d6f/ Signed-off-by: Alex Suykov Signed-off-by: Thomas Petazzoni --- ...akefile.patch => 0001-newt-fix-makefile.patch} | 0 package/newt/0002-slang-include-dir.patch | 15 +++++++++++++++ 2 files changed, 15 insertions(+) rename package/newt/{newt-fix-makefile.patch => 0001-newt-fix-makefile.patch} (100%) create mode 100644 package/newt/0002-slang-include-dir.patch diff --git a/package/newt/newt-fix-makefile.patch b/package/newt/0001-newt-fix-makefile.patch similarity index 100% rename from package/newt/newt-fix-makefile.patch rename to package/newt/0001-newt-fix-makefile.patch diff --git a/package/newt/0002-slang-include-dir.patch b/package/newt/0002-slang-include-dir.patch new file mode 100644 index 0000000000..a88ee70c4e --- /dev/null +++ b/package/newt/0002-slang-include-dir.patch @@ -0,0 +1,15 @@ +slang.h is in sysroot/usr/include, no need to use -I + +Signed-off-by: Alex Suykov + +--- a/Makefile.in ++++ b/Makefile.in +@@ -5,7 +5,7 @@ + CPP = @CPP@ + CFLAGS = @CFLAGS@ + LDFLAGS = @LDFLAGS@ +-CPPFLAGS = -D_GNU_SOURCE -I/usr/include/slang @CPPFLAGS@ ++CPPFLAGS = -D_GNU_SOURCE @CPPFLAGS@ + GNU_LD = @GNU_LD@ + + VERSION = @VERSION@ -- 2.30.2