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 66366ce3ea..29cac5f1b8 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"
++ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
+elif test "$includedir" != "/usr/include"; then
+ if test "$includedir" = '${prefix}/include' ; then
+ if test $prefix != /usr ; then
-+ CPPFLAGS="$CPPFLAGS"
++ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
+ fi
+ else
-+ CPPFLAGS="$CPPFLAGS"
++ CPPFLAGS="$CPPFLAGS -I\$(includedir)"
+ fi
+fi
+AC_SUBST(CPPFLAGS)