Fix build with newer Xorg.

Approved by:	kwm
This commit is contained in:
Robert Noland 2010-05-07 13:58:19 +00:00
parent 1d15a3d2d4
commit 1678bcc749
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253902
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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"