From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Apr 8 05:00:09 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EE001065673 for ; Wed, 8 Apr 2009 05:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0F6608FC15 for ; Wed, 8 Apr 2009 05:00:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n38508o9003504 for ; Wed, 8 Apr 2009 05:00:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n38508RR003503; Wed, 8 Apr 2009 05:00:08 GMT (envelope-from gnats) Resent-Date: Wed, 8 Apr 2009 05:00:08 GMT Resent-Message-Id: <200904080500.n38508RR003503@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tim Kientzle Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56C871065670 for ; Wed, 8 Apr 2009 04:57:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 454D88FC08 for ; Wed, 8 Apr 2009 04:57:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n384voRE064400 for ; Wed, 8 Apr 2009 04:57:50 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n384vo3q064399; Wed, 8 Apr 2009 04:57:50 GMT (envelope-from nobody) Message-Id: <200904080457.n384vo3q064399@www.freebsd.org> Date: Wed, 8 Apr 2009 04:57:50 GMT From: Tim Kientzle To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/133482: x11/libXext "Generic Event Extension not available" error is annoying X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Apr 2009 05:00:09 -0000 >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@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: