summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authortnn <tnn>2010-01-15 18:47:45 +0000
committertnn <tnn>2010-01-15 18:47:45 +0000
commitba9068e53e33b4bd12bac40822168ad27f522ac6 (patch)
tree143f3153b31b5d268af4b68896a46477c9c1a577 /x11
parent13149823f35292ef7c82f4c0e8bb23a96a8542bd (diff)
downloadpkgsrc-ba9068e53e33b4bd12bac40822168ad27f522ac6.tar.gz
Update to libXdamage-1.1.2. Changes:
Add README with pointers to mailing list, bugzilla & git repos Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONS libXdamage 1.1.2 Add *~ to .gitignore to skip patch/emacs droppings Replace static ChangeLog with dist-hook to generate from git log Janitor: Correct make distcheck and compiler warnings. Change parameter names for QueryVersion/QueryExtension. Fix a comment in configure.ac, this is libXdamage, not libXfixes Require pkg-config to find the packages, no funky x11 lookups. libXdamage incorrectly encodes/decodes the 'More' field from the event.
Diffstat (limited to 'x11')
-rw-r--r--x11/libXdamage/Makefile5
-rw-r--r--x11/libXdamage/distinfo9
-rw-r--r--x11/libXdamage/patches/patch-aa33
3 files changed, 6 insertions, 41 deletions
diff --git a/x11/libXdamage/Makefile b/x11/libXdamage/Makefile
index d3bfd3a6aeb..133ff8de4d0 100644
--- a/x11/libXdamage/Makefile
+++ b/x11/libXdamage/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2008/05/24 21:45:15 tnn Exp $
+# $NetBSD: Makefile,v 1.6 2010/01/15 18:47:45 tnn Exp $
#
-DISTNAME= libXdamage-1.1.1
-PKGREVISION= 1
+DISTNAME= libXdamage-1.1.2
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/libXdamage/distinfo b/x11/libXdamage/distinfo
index d4a6f2a66ba..e7bbaefbcf1 100644
--- a/x11/libXdamage/distinfo
+++ b/x11/libXdamage/distinfo
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.4 2008/01/29 03:50:25 bjs Exp $
+$NetBSD: distinfo,v 1.5 2010/01/15 18:47:45 tnn Exp $
-SHA1 (libXdamage-1.1.1.tar.bz2) = a88e5a004084400d638ed623e281a6076519a8d0
-RMD160 (libXdamage-1.1.1.tar.bz2) = 90de272adbd42113869a8e4d36a51e2e4e576dc9
-Size (libXdamage-1.1.1.tar.bz2) = 201096 bytes
-SHA1 (patch-aa) = f45851e0cdd665b78e5e712a11c2a838cae272b2
+SHA1 (libXdamage-1.1.2.tar.bz2) = dc1fbc938e9bbc859c70cf2087440fc15b00bb1e
+RMD160 (libXdamage-1.1.2.tar.bz2) = 0f2b85ce1314ac0d35cd2fcba15ff9c5425642f9
+Size (libXdamage-1.1.2.tar.bz2) = 238443 bytes
diff --git a/x11/libXdamage/patches/patch-aa b/x11/libXdamage/patches/patch-aa
deleted file mode 100644
index a7f063a122d..00000000000
--- a/x11/libXdamage/patches/patch-aa
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/01/29 03:50:26 bjs Exp $
-
-libXdamage incorrectly encodes/decodes the 'More' field from the event.
-
-The client library for xdamage currently fails to fill in the 'more'
-field. As a result, you get whatever uninitialised junk was there
-before.
-
-The server sets the high bit of 'level' when there is
-'more' (DamageNotifyMore = 0x80). A patch follows to fix the client
-library. (from GIT)
-
---- src/Xdamage.c.orig 2007-01-09 19:20:57.000000000 -0500
-+++ src/Xdamage.c
-@@ -231,7 +231,8 @@ XDamageWireToEvent(Display *dpy, XEvent
- aevent->display = dpy;
- aevent->drawable = awire->drawable;
- aevent->damage = awire->damage;
-- aevent->level = awire->level;
-+ aevent->level = awire->level & ~DamageNotifyMore;
-+ aevent->more = (awire->level & DamageNotifyMore) ? True : False;
- aevent->timestamp = awire->timestamp;
- aevent->area.x = awire->area.x;
- aevent->area.y = awire->area.y;
-@@ -264,7 +265,7 @@ XDamageEventToWire(Display *dpy, XEvent
- awire->type = aevent->type | (aevent->send_event ? 0x80 : 0);
- awire->drawable = aevent->drawable;
- awire->damage = aevent->damage;
-- awire->level = aevent->level;
-+ awire->level = aevent->level | (aevent->more ? DamageNotifyMore : 0);
- awire->timestamp = aevent->timestamp;
- awire->area.x = aevent->area.x;
- awire->area.y = aevent->area.y;