summaryrefslogtreecommitdiff
path: root/package/newt
diff options
context:
space:
mode:
authorAlex Suykov <alex.suykov@gmail.com>2015-01-10 10:10:48 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-01-10 11:43:50 +0100
commit51eeca9f9751f0f17958bd1c408c3c88b07b08c8 (patch)
treea3b0cd9e8e4b81ebd22fc1bf4549a9f20232782c /package/newt
parent6aa156fa1f532a0079670667c0946e7c9008692f (diff)
newt: avoid poisoned paths
Fixes http://autobuild.buildroot.net/results/cb908f73b14e1510bea890167b3927afbf708d6f/ Signed-off-by: Alex Suykov <alex.suykov@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/newt')
-rw-r--r--package/newt/0001-newt-fix-makefile.patch (renamed from package/newt/newt-fix-makefile.patch)0
-rw-r--r--package/newt/0002-slang-include-dir.patch15
2 files changed, 15 insertions, 0 deletions
diff --git a/package/newt/newt-fix-makefile.patch b/package/newt/0001-newt-fix-makefile.patch
index 84152fbef..84152fbef 100644
--- a/package/newt/newt-fix-makefile.patch
+++ b/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 000000000..a88ee70c4
--- /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 <alex.suykov@gmail.com>
+
+--- 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@