summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 84152fbef6..84152fbef6 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 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 <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@
OpenPOWER on IntegriCloud