From owner-freebsd-x11@FreeBSD.ORG Tue Feb 22 17:19:55 2005 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B85C216A4CE; Tue, 22 Feb 2005 17:19:55 +0000 (GMT) Received: from harik.murex.com (mail.murex.com [194.98.239.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EEA743D5C; Tue, 22 Feb 2005 17:19:54 +0000 (GMT) (envelope-from Mikhail.Teterin@murex.com) From: Mikhail Teterin Organization: Murex North America To: Felix =?iso-8859-1?q?K=FChling?= Date: Tue, 22 Feb 2005 12:19:19 -0500 User-Agent: KMail/1.7.2 References: <200502220508.j1M58MAN094098@corbulon.video-collage.com> <1109078622.3320.2.camel@trabant> In-Reply-To: <1109078622.3320.2.camel@trabant> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502221710.j1MH9a5v009787@harik.murex.com> X-OriginalArrivalTime: 22 Feb 2005 17:19:21.0940 (UTC) FILETIME=[A63A6140:01C51902] cc: freebsd-x11@freebsd.org cc: freebsd-gnats-submit@freebsd.org cc: acardenas@bsdperu.org Subject: Re: ports/76257: nvidia_driver breaks xorg-clients build X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Feb 2005 17:19:55 -0000 > It was already changed in my patch. Do you have any better suggestions? Not really... > As I mentioned in an earlier mail, the GLX headers from Xorg don't seem > to define the ARB function any more. 6.8.1 still has it. Not sure about 6.8.2. In that case, the following little hunk: +#ifndef GLX_VERSION_1_4 +# define glXGetProcAddress glXGetProcAddressARB +#endif seems less intrusive :-) The utility will still not *work* when compiled against GLX-1.3 headers, but it will *compile*. To allow for -lGL to be interchangible post-build, however, it may be required to make a dlopen/dlsym search for the glXGetProcAddress symbol at run-time. Would you like a patch? It will, unavoidably, system-specific, but should work on most (all?) systems supported by Xorg. You will also be able to remove this hack in a few years, when all available GLX implementations are upgraded. Yours, -mi