aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysutils/gnome-power-manager/Makefile2
-rw-r--r--sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/sysutils/gnome-power-manager/Makefile b/sysutils/gnome-power-manager/Makefile
index 704c3ba87f0b..76c35fcb8271 100644
--- a/sysutils/gnome-power-manager/Makefile
+++ b/sysutils/gnome-power-manager/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gnome-power-manager
PORTVERSION= 2.24.4
-PORTREVISION= 9
+PORTREVISION= 10
CATEGORIES= sysutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c b/sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c
new file mode 100644
index 000000000000..2b62e06643dd
--- /dev/null
+++ b/sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c
@@ -0,0 +1,11 @@
+--- src/gpm-dpms.c.orig 2008-09-04 05:05:15.000000000 -0500
++++ src/gpm-dpms.c 2010-05-07 08:36:53.000000000 -0500
+@@ -39,7 +39,7 @@
+ #ifdef HAVE_DPMS_EXTENSION
+ #include <X11/Xproto.h>
+ #include <X11/extensions/dpms.h>
+-#include <X11/extensions/dpmsstr.h>
++#include <X11/extensions/dpmsproto.h>
+ #endif
+
+ #include "gpm-conf.h"