summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-02-27 16:00:01 +0000
committertnn <tnn@pkgsrc.org>2009-02-27 16:00:01 +0000
commit8bb191867c23b713a4fc33cab0c81a6f96b9677e (patch)
tree1dc525e778afc4192356fa2ce85cd4acf80497de
parent23ff34e8fc6ea7448cddbf4d681775345f2291df (diff)
downloadpkgsrc-8bb191867c23b713a4fc33cab0c81a6f96b9677e.tar.gz
I really don't need to be told 10 times every time I launch an X11
application that I don't have "Generic Event Extension" on my X server.
-rw-r--r--x11/libXext/Makefile3
-rw-r--r--x11/libXext/distinfo3
-rw-r--r--x11/libXext/patches/patch-aa13
3 files changed, 17 insertions, 2 deletions
diff --git a/x11/libXext/Makefile b/x11/libXext/Makefile
index 5e70ed36fc4..a29051fe7c0 100644
--- a/x11/libXext/Makefile
+++ b/x11/libXext/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2009/02/21 16:48:20 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2009/02/27 16:00:01 tnn Exp $
#
DISTNAME= libXext-1.0.5
+PKGREVISION= 1
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
diff --git a/x11/libXext/distinfo b/x11/libXext/distinfo
index c79b6227a54..20366719199 100644
--- a/x11/libXext/distinfo
+++ b/x11/libXext/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2009/02/21 16:48:20 wiz Exp $
+$NetBSD: distinfo,v 1.7 2009/02/27 16:00:01 tnn Exp $
SHA1 (libXext-1.0.5.tar.bz2) = 926c7237108aaccbb8e437ebd80b8edc67615249
RMD160 (libXext-1.0.5.tar.bz2) = a6ed71d3b4d0e7f1442e196fc795324ff3188f5a
Size (libXext-1.0.5.tar.bz2) = 271301 bytes
+SHA1 (patch-aa) = ac7ff4582731a3c3886ff156979a14c304a81d67
diff --git a/x11/libXext/patches/patch-aa b/x11/libXext/patches/patch-aa
new file mode 100644
index 00000000000..f0112bf62c6
--- /dev/null
+++ b/x11/libXext/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2009/02/27 16:00:01 tnn Exp $
+
+--- src/Xge.c.orig 2008-12-03 20:02:05.000000000 +0100
++++ src/Xge.c
+@@ -161,6 +161,8 @@ cleanup:
+ static Bool
+ _xgeCheckExtension(Display* dpy, XExtDisplayInfo* info)
+ {
++ if (!XextHasExtension(info))
++ return False;
+ XextCheckExtension(dpy, info, xge_extension_name, False);
+ return True;
+ }