ultrabug    14/12/12 13:41:15

  Added:                pacemaker-1.1.10-tinfo.patch
  Log:
  fix #526770, drop old and version bump
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
B658FA13)

Revision  Changes    Path
1.1                  sys-cluster/pacemaker/files/pacemaker-1.1.10-tinfo.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/files/pacemaker-1.1.10-tinfo.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-cluster/pacemaker/files/pacemaker-1.1.10-tinfo.patch?rev=1.1&content-type=text/plain

Index: pacemaker-1.1.10-tinfo.patch
===================================================================
--- a/configure.ac      2014-12-12 14:13:07.262413254 +0100
+++ b/configure.ac      2014-12-12 14:13:14.922480835 +0100
@@ -885,14 +885,16 @@
 CURSESLIBS=''
 if test "$ac_cv_header_ncurses_h" = "yes"; then
   AC_CHECK_LIB(ncurses, printw,
-    [CURSESLIBS='-lncurses'; AC_DEFINE(HAVE_LIBNCURSES,1, have ncurses 
library)]
+    [AC_DEFINE(HAVE_LIBNCURSES,1, have ncurses library)]
   )
+  CURSESLIBS=`$PKGCONFIG --libs ncurses`;
 fi
 
 if test "$ac_cv_header_ncurses_ncurses_h" = "yes"; then
   AC_CHECK_LIB(ncurses, printw,
-    [CURSESLIBS='-lncurses'; AC_DEFINE(HAVE_LIBNCURSES,1, have ncurses 
library)]
+    [AC_DEFINE(HAVE_LIBNCURSES,1, have ncurses library)]
   )
+  CURSESLIBS=`$PKGCONFIG --libs ncurses`;
 fi
 
 dnl Only look for non-n-library if there was no n-library.




Reply via email to