diff options
Diffstat (limited to '0068-dont-include-system-ncurses-path.patch')
-rw-r--r-- | 0068-dont-include-system-ncurses-path.patch | 36 |
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 + |