ports/133482: x11/libXext "Generic Event Extension not available" error is annoying

Tim Kientzle kientzle at FreeBSD.org
Wed Apr 8 05:00:09 UTC 2009


>Number:         133482
>Category:       ports
>Synopsis:       x11/libXext "Generic Event Extension not available" error is annoying
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 08 05:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Tim Kientzle
>Release:        FreeBSD-CURRENT
>Organization:
>Environment:
FreeBSD dark.x.kientzle.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0 r190666: Fri Apr 3 00:25:54 PDT 2009     root at dark.kientzle.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Almost every X-based program spits out loads of
 "Generic Event Extension" not available
messages.  Since I understand this extension has
never been implemented in any X.org server, it
seems kind of pointless and mostly serves only
to be annoying.

>How-To-Repeat:

>Fix:
Attached patch converts the "test for Generic Extension" function
to use the XextHasExtension() test instead of the XextCheckExtension()
test (the latter always warns if the extension is unavailable).
This has no impact on functionality at all; it merely removes
the pointless warning.


Patch attached with submission follows:

--- libXext-1.0.5-old/src/Xge.c	2008-12-03 11:02:05.000000000 -0800
+++ libXext-1.0.5/src/Xge.c	2009-04-07 21:36:05.000000000 -0700
@@ -161,8 +161,7 @@
 static Bool
 _xgeCheckExtension(Display* dpy, XExtDisplayInfo* info)
 {
-    XextCheckExtension(dpy, info, xge_extension_name, False);
-    return True;
+    return XextHasExtension(info);
 }
 
 


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list