aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-04-05 21:42:04 +0800
committeritetcu <itetcu@FreeBSD.org>2008-04-05 21:42:04 +0800
commit0246867e8e5bd7bc3ade120825186481765ad7f6 (patch)
treec7bd8d0139315dc6d2043613cd2dabaf069bc67c /sysutils
parent37794fdf8f98d61375156579bab85689b44581fd (diff)
downloadfreebsd-ports-gnome-0246867e8e5bd7bc3ade120825186481765ad7f6.tar.gz
freebsd-ports-gnome-0246867e8e5bd7bc3ade120825186481765ad7f6.tar.zst
freebsd-ports-gnome-0246867e8e5bd7bc3ade120825186481765ad7f6.zip
- Patch powerflute to include the "correct" ncurses header when devel/ncurses* is
installed. - bup PORTREVISION for for this. Reported by: Robert Jameson Reviewed by: rafan@
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/apcupsd/Makefile1
-rw-r--r--sysutils/apcupsd/files/patch-src__powerflute.c17
2 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile
index 11e47c066fc6..63e0fd191ab6 100644
--- a/sysutils/apcupsd/Makefile
+++ b/sysutils/apcupsd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= apcupsd
PORTVERSION= 3.14.3
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:src_sf/g} \
http://T32.TecNik93.com/FreeBSD/ports/${PORTNAME}/sources/:src_bk \
diff --git a/sysutils/apcupsd/files/patch-src__powerflute.c b/sysutils/apcupsd/files/patch-src__powerflute.c
new file mode 100644
index 000000000000..0eebb3d3c43a
--- /dev/null
+++ b/sysutils/apcupsd/files/patch-src__powerflute.c
@@ -0,0 +1,17 @@
+--- ./src/powerflute.c.orig 2008-04-05 15:12:15.000000000 +0300
++++ ./src/powerflute.c 2008-04-05 15:12:29.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