Fix build with current modular-xorg: remove inclusion of non-existent

header dpmsstr.h.  AFAICT through manual inspection of the code, none
of the symbols nor constants provided by the header still present in
xsrc are used.
This commit is contained in:
jmmv 2010-04-11 22:24:47 +00:00
parent 67e739914a
commit ebf69fce68
2 changed files with 14 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.3 2009/02/24 15:14:01 wiz Exp $
$NetBSD: distinfo,v 1.4 2010/04/11 22:24:47 jmmv Exp $
SHA1 (gnome-power-manager-2.24.4.tar.bz2) = ea9c895a78761c59fea13701e074946a20c50fe6
RMD160 (gnome-power-manager-2.24.4.tar.bz2) = c0b16ead610ffeae9d801f8bde44507464808e53
@ -6,3 +6,4 @@ Size (gnome-power-manager-2.24.4.tar.bz2) = 2997032 bytes
SHA1 (patch-aa) = d3e3e33b82af97e1fb372914afc732e3d9a2232a
SHA1 (patch-ab) = 1d095932a52528148703ce63bfab81f3a2f316fd
SHA1 (patch-ac) = 57ade4298abd05dc57af06347dc96dea4683eb51
SHA1 (patch-ad) = b0a68283600b33f730c3b5b07128858c96c04394

View file

@ -0,0 +1,12 @@
$NetBSD: patch-ad,v 1.1 2010/04/11 22:24:47 jmmv Exp $
--- src/gpm-dpms.c.orig 2008-09-04 10:05:15.000000000 +0000
+++ src/gpm-dpms.c
@@ -39,7 +39,6 @@
#ifdef HAVE_DPMS_EXTENSION
#include <X11/Xproto.h>
#include <X11/extensions/dpms.h>
-#include <X11/extensions/dpmsstr.h>
#endif
#include "gpm-conf.h"