freebsd-ports/sysutils/apcupsd/files/patch-src__powerflute.c
Ion-Mihai Tetcu 8f93fe176d Update to 3.14.4.
Notable changes are:
- it now builds using gmake
- NLS and POWERFLUTE are removed
- POLLTIME directive to control UPS polling interval. This directive
    specifies the number of seconds to delay between polling the UPS for
    status. Previously, NETTIME allowed this to be adjusted for network
    connections only (snmp, pcnet, nis-net). POLLTIME configures the delay
    for all connection types. NETTIME is accepted as a synonym for
    compatibility with old config files.
- you can now use the graphical client via GAPCMON OPTION
- it won't build on anything pre 6.3R

Tested by:	Stefan Lambrev <stefan.lambrev@moneybookers.com>
2008-07-10 20:03:47 +00:00

17 lines
441 B
C

--- ./src/powerflute.c.orig 2008-01-27 18:22:57.000000000 +0200
+++ ./src/powerflute.c 2008-06-29 14:16:28.000000000 +0300
@@ -28,12 +28,12 @@
#ifdef HAVE_POWERFLUTE
#ifdef HAVE_NCURSES_MENU_H
-# include <ncurses/curses.h>
+# include <ncurses/ncurses.h>
# include <ncurses/panel.h>
# include <ncurses/menu.h>
#else
# ifdef HAVE_MENU_H
-# include <curses.h>
+# include <ncurses.h>
# include <panel.h>
# include <menu.h>
# else