jer         15/01/26 18:20:44

  Added:                xstow-1.0.1-ncurses.patch
  Log:
  Fix --with-curses (bug #537886).
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
A792A613)

Revision  Changes    Path
1.1                  app-admin/xstow/files/xstow-1.0.1-ncurses.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/xstow/files/xstow-1.0.1-ncurses.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/xstow/files/xstow-1.0.1-ncurses.patch?rev=1.1&content-type=text/plain

Index: xstow-1.0.1-ncurses.patch
===================================================================
--- a/configure.ac
+++ b/configure.ac
@@ -91,11 +91,12 @@
                        AC_MSG_RESULT(disabled)
                        support_curses=0
                else
+                       AC_MSG_RESULT(enabled)
                        support_curses=1
                fi
        ],
-       [
-               AC_MSG_RESULT(enabled)
+       [])
+if test $support_curses -eq 1; then
                AC_CHECK_HEADER([curses.h],
                                [
                                  # test which libraray to use
@@ -154,8 +155,7 @@
                                [
                                  support_curses=0
                                ])
-       ])
-
+fi
 
 NO_STL_SSTREAM=0
 NO_STL_STRSTREAM=0




Reply via email to