Fix build with newer Xorg.
Approved by: kwm
This commit is contained in:
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
|
@ -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
|
||||
|
|
11
sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c
Normal file
11
sysutils/gnome-power-manager/files/patch-src_gpm-dpms.c
Normal 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"
|
Loading…
Reference in a new issue