summarylogtreecommitdiffstats
path: root/0068-dont-include-system-ncurses-path.patch
diff options
context:
space:
mode:
authoratomlong2021-08-28 11:19:04 +0800
committeratomlong2021-08-28 13:15:13 +0800
commit89a67c05174951d172252b1db96ff93cc4ec4bcd (patch)
treed8c39fa79b201cf9aea28c51e7446a252ed8fee4 /0068-dont-include-system-ncurses-path.patch
parentcf8d8d8771493a2aa8370ed323d06dc733a84181 (diff)
downloadaur-89a67c05174951d172252b1db96ff93cc4ec4bcd.tar.gz
Update to 3.9.6
Diffstat (limited to '0068-dont-include-system-ncurses-path.patch')
-rw-r--r--0068-dont-include-system-ncurses-path.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/0068-dont-include-system-ncurses-path.patch b/0068-dont-include-system-ncurses-path.patch
new file mode 100644
index 000000000000..59bf520622b9
--- /dev/null
+++ b/0068-dont-include-system-ncurses-path.patch
@@ -0,0 +1,36 @@
+From 430aee7255b2ebf1947c8670db95f017e41aecc6 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
+ <alexey.pawlow@gmail.com>
+Date: Thu, 17 Jun 2021 18:52:09 +0530
+Subject: [PATCH 068/N] dont include system ncurses path
+
+---
+ configure.ac | 12 +++++++++---
+ 1 file changed, 9 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 28b69be..25aecf9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -5479,9 +5479,15 @@ fi
+
+ # first curses header check
+ ac_save_cppflags="$CPPFLAGS"
+-if test "$cross_compiling" = no; then
+- CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
+-fi
++case $host_os in
++ mingw*)
++ ;;
++ *)
++ if test "$cross_compiling" = no; then
++ CPPFLAGS="$CPPFLAGS -I/usr/include/ncursesw"
++ fi
++ ;;
++esac
+
+ AC_CHECK_HEADERS(curses.h ncurses.h)
+
+--
+2.32.0
+