SOURCES: heartbeat-ac.patch - better ncurses detection

zbyniu zbyniu at pld-linux.org
Sat Jan 27 22:58:13 CET 2007


Author: zbyniu                       Date: Sat Jan 27 21:58:13 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- better ncurses detection

---- Files affected:
SOURCES:
   heartbeat-ac.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/heartbeat-ac.patch
diff -u SOURCES/heartbeat-ac.patch:1.2 SOURCES/heartbeat-ac.patch:1.3
--- SOURCES/heartbeat-ac.patch:1.2	Fri Jun  3 12:26:41 2005
+++ SOURCES/heartbeat-ac.patch	Sat Jan 27 22:58:08 2007
@@ -39,3 +39,18 @@
  
  AC_MSG_CHECKING(for the location of the lock directory)
  for TTY_LOCK_D in /var/lock /var/spool/lock /var/spool/locks
+--- heartbeat-2.0.7/configure.in.orig	2006-08-08 14:41:54.000000000 +0200
++++ heartbeat-2.0.7/configure.in	2007-01-27 19:23:30.919741000 +0100
+@@ -1693,8 +1693,12 @@ dnl ************ printw ****************
+ 	      [
+ #if defined(HAVE_CURSES_H)
+ #  include <curses.h>
++#elif defined(HAVE_CURSES_CURSES_H)
++#  include <curses/curses.h>
+ #elif defined(HAVE_NCURSES_H)
+ #  include <ncurses.h>
++#elif defined(HAVE_NCURSES_NCURSES_H)
++#  include <ncurses/ncurses.h>
+ #endif
+ 	      ],
+ 	      [printw((const char *)"Test");]
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/heartbeat-ac.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list