aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrnoland <rnoland@FreeBSD.org>2010-05-07 21:58:19 +0800
committerrnoland <rnoland@FreeBSD.org>2010-05-07 21:58:19 +0800
commit5fe9e53eee0af10f2bb0c7f7e47be2e765fba426 (patch)
tree429ab6b8176f3813c2254b3e05fb49cd113cf619 /sysutils
parente6d5ab2e2526d40568971c3e7804d22c30856f65 (diff)
downloadfreebsd-ports-gnome-5fe9e53eee0af10f2bb0c7f7e47be2e765fba426.tar.gz
freebsd-ports-gnome-5fe9e53eee0af10f2bb0c7f7e47be2e765fba426.tar.zst
freebsd-ports-gnome-5fe9e53eee0af10f2bb0c7f7e47be2e765fba426.zip
Fix build with newer Xorg.
Approved by: kwm
Diffstat (limited to 'sysutils')
-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"