diff options
author | joerg <joerg@pkgsrc.org> | 2007-02-26 18:22:24 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-02-26 18:22:24 +0000 |
commit | 38917a855d1d9e8dd1da86a138930b1b46459b2b (patch) | |
tree | 722d4686032dd10fd1c64147995aaeb0349f48ef /x11/libXrandr | |
parent | 8bdd2793566f58761e87b57312e5351a9bad288e (diff) | |
download | pkgsrc-38917a855d1d9e8dd1da86a138930b1b46459b2b.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/libXrandr')
-rw-r--r-- | x11/libXrandr/Makefile | 3 | ||||
-rw-r--r-- | x11/libXrandr/distinfo | 3 | ||||
-rw-r--r-- | x11/libXrandr/patches/patch-aa | 13 |
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); |