summaryrefslogtreecommitdiff
path: root/packages/ncurses/ncurses/visibility.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ncurses/ncurses/visibility.patch')
-rw-r--r--packages/ncurses/ncurses/visibility.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/ncurses/ncurses/visibility.patch b/packages/ncurses/ncurses/visibility.patch
index 29cac5f1b8..66366ce3ea 100644
--- a/packages/ncurses/ncurses/visibility.patch
+++ b/packages/ncurses/ncurses/visibility.patch
@@ -2187,14 +2187,14 @@
+ CPPFLAGS="-I\$(srcdir)/../include $CPPFLAGS"
+fi
+if test "$GCC" != yes; then
-+ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
++ CPPFLAGS="$CPPFLAGS"
+elif test "$includedir" != "/usr/include"; then
+ if test "$includedir" = '${prefix}/include' ; then
+ if test $prefix != /usr ; then
-+ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
++ CPPFLAGS="$CPPFLAGS"
+ fi
+ else
-+ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
++ CPPFLAGS="$CPPFLAGS"
+ fi
+fi
+AC_SUBST(CPPFLAGS)