summaryrefslogtreecommitdiff
path: root/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch')
-rw-r--r--app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch b/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
new file mode 100644
index 000000000000..a5f14c593f44
--- /dev/null
+++ b/app-text/pinfo/files/pinfo-0.6.10-ncurses-check.patch
@@ -0,0 +1,14 @@
+curses_wchar is set to true/false, so trying to assign it to the compiler
+flags variable makes no sense. it's already been set up the right value
+at this point, so delete the assignment.
+
+--- a/macros/curses.m4
++++ b/macros/curses.m4
+@@ -130,7 +130,6 @@ AC_DEFUN([AC_CHECK_CURSES],[
+ else
+ AC_DEFINE(CURSES_WCHAR)
+ CURSES_WCHAR=true
+- CURSES_FLAGS=$curses_wchar
+ AC_SUBST(CURSES_FLAGS)
+ fi
+