summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg>2007-02-26 18:22:24 +0000
committerjoerg <joerg>2007-02-26 18:22:24 +0000
commit039c4d0b717b1ebd53d49969336382fb4c6a4685 (patch)
tree722d4686032dd10fd1c64147995aaeb0349f48ef /x11
parent4d388a498268e94bf5d5fcf05e807bff88a35376 (diff)
downloadpkgsrc-039c4d0b717b1ebd53d49969336382fb4c6a4685.tar.gz
Q: Why should I not name arguments in header files?
A: Because the names might create conflicts. Rename a parameter name as delete is a C++ keyword. Unbreaks Qt. Bump revision.
Diffstat (limited to 'x11')
-rw-r--r--x11/libXrandr/Makefile3
-rw-r--r--x11/libXrandr/distinfo3
-rw-r--r--x11/libXrandr/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/x11/libXrandr/Makefile b/x11/libXrandr/Makefile
index 5969ae80eb5..dc1fca6ba9d 100644
--- a/x11/libXrandr/Makefile
+++ b/x11/libXrandr/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2007/02/26 15:00:50 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2007/02/26 18:22:24 joerg Exp $
#
DISTNAME= libXrandr-1.2.0
+PKGREVISION= 1
CATEGORIES= x11 devel
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/lib/
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/libXrandr/distinfo b/x11/libXrandr/distinfo
index e70b983d8cc..4eaa6a8a18a 100644
--- a/x11/libXrandr/distinfo
+++ b/x11/libXrandr/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2007/02/26 15:01:04 joerg Exp $
+$NetBSD: distinfo,v 1.3 2007/02/26 18:22:24 joerg Exp $
SHA1 (libXrandr-1.2.0.tar.bz2) = a32722ad9fcb6475533499b1646a125458fe142c
RMD160 (libXrandr-1.2.0.tar.bz2) = 013249fc35e8a5d72a191fd9af0c6db06423880c
Size (libXrandr-1.2.0.tar.bz2) = 220762 bytes
+SHA1 (patch-aa) = c3bf5474746f002524fc9baccb683884357986d5
diff --git a/x11/libXrandr/patches/patch-aa b/x11/libXrandr/patches/patch-aa
new file mode 100644
index 00000000000..e7dc9c150d3
--- /dev/null
+++ b/x11/libXrandr/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2007/02/26 18:22:25 joerg Exp $
+
+--- include/X11/extensions/Xrandr.h.orig 2007-02-26 17:31:23.000000000 +0000
++++ include/X11/extensions/Xrandr.h
+@@ -296,7 +296,7 @@ XRRDeleteOutputProperty (Display *dpy, R
+ int
+ XRRGetOutputProperty (Display *dpy, RROutput output,
+ Atom property, long offset, long length,
+- Bool delete, Bool pending, Atom req_type,
++ Bool _delete, Bool pending, Atom req_type,
+ Atom *actual_type, int *actual_format,
+ unsigned long *nitems, unsigned long *bytes_after,
+ unsigned char **prop);