From 5fe9e53eee0af10f2bb0c7f7e47be2e765fba426 Mon Sep 17 00:00:00 2001 From: rnoland Date: Fri, 7 May 2010 13:58:19 +0000 Subject: Fix build with newer Xorg. Approved by: kwm --- sysutils/gnome-power-manager/Makefile | 2 +- sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c 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 + #include +-#include ++#include + #endif + + #include "gpm-conf.h" -- cgit