summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-12-17 19:25:38 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-12-17 19:25:38 +0000
commit7cff5f67d4d2e74832a93215761d1de4758d9bb6 (patch)
tree95f7be46139832ab8076ecead8a3d3d609f6c853 /packages
parent723887f4f776d182315b057c66811d01b3cf0085 (diff)
ncurses 5.4: Fix host includes issue for the case ${prefix} != /usr.
Diffstat (limited to 'packages')
-rw-r--r--packages/ncurses/ncurses/visibility.patch6
-rw-r--r--packages/ncurses/ncurses_5.4.bb2
2 files changed, 4 insertions, 4 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)
diff --git a/packages/ncurses/ncurses_5.4.bb b/packages/ncurses/ncurses_5.4.bb
index 6da32232af..ac125bf6fe 100644
--- a/packages/ncurses/ncurses_5.4.bb
+++ b/packages/ncurses/ncurses_5.4.bb
@@ -1,4 +1,4 @@
-PR = "r9"
+PR = "r10"
SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
file://visibility.patch;patch=1"