summaryrefslogtreecommitdiff
path: root/x11/Xrandr-mixedcase
diff options
context:
space:
mode:
authorreinoud <reinoud>2004-04-05 23:03:52 +0000
committerreinoud <reinoud>2004-04-05 23:03:52 +0000
commit40e439db317646cfedc647ce6200a4e50d91ed65 (patch)
treef4e344658963064823468a8eb8d3d8713b0854f8 /x11/Xrandr-mixedcase
parent9f18301bf0d529c260b0ce87607cde4848b836b2 (diff)
downloadpkgsrc-40e439db317646cfedc647ce6200a4e50d91ed65.tar.gz
Fix double inclusion compilation error with some XFree versions.
Diffstat (limited to 'x11/Xrandr-mixedcase')
-rw-r--r--x11/Xrandr-mixedcase/distinfo3
-rw-r--r--x11/Xrandr-mixedcase/patches/patch-ab16
2 files changed, 18 insertions, 1 deletions
diff --git a/x11/Xrandr-mixedcase/distinfo b/x11/Xrandr-mixedcase/distinfo
index a32f50a040d..0f2592ebbf9 100644
--- a/x11/Xrandr-mixedcase/distinfo
+++ b/x11/Xrandr-mixedcase/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2003/12/04 18:57:45 recht Exp $
+$NetBSD: distinfo,v 1.3 2004/04/05 23:03:52 reinoud Exp $
SHA1 (libXrandr-1.0.1.tar.bz2) = a3d4f06d1a64abaf8f5dd6f0125d4bc5aebdcdeb
Size (libXrandr-1.0.1.tar.bz2) = 186940 bytes
SHA1 (patch-aa) = a8e0b3ef460f21125ebf9058dcaa3d9066e06841
+SHA1 (patch-ab) = 54d37f78e7f61cb82957b7526e2a426bf1e41d8a
diff --git a/x11/Xrandr-mixedcase/patches/patch-ab b/x11/Xrandr-mixedcase/patches/patch-ab
new file mode 100644
index 00000000000..9b6555da295
--- /dev/null
+++ b/x11/Xrandr-mixedcase/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2004/04/05 23:03:52 reinoud Exp $
+
+--- Xrandr.c.orig 2003-05-28 00:26:42.000000000 +0200
++++ Xrandr.c
+@@ -27,10 +27,9 @@
+ #include <stdio.h>
+ #include <X11/Xlib.h>
+ /* we need to be able to manipulate the Display structure on events */
+-#include <X11/Xlibint.h>
++#include "Xrandrint.h"
+ #include <X11/extensions/render.h>
+ #include <X11/extensions/Xrender.h>
+-#include "Xrandrint.h"
+
+ XExtensionInfo XRRExtensionInfo;
+ char XRRExtensionName[] = RANDR_NAME;