Date: Tue, 22 Feb 2005 12:19:19 -0500 From: Mikhail Teterin <Mikhail.Teterin@murex.com> To: Felix =?iso-8859-1?q?K=FChling?= <fxkuehl@gmx.de> Cc: acardenas@bsdperu.org Subject: Re: ports/76257: nvidia_driver breaks xorg-clients build Message-ID: <200502221710.j1MH9a5v009787@harik.murex.com> In-Reply-To: <1109078622.3320.2.camel@trabant> References: <200502220508.j1M58MAN094098@corbulon.video-collage.com> <1109078622.3320.2.camel@trabant>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502221710.j1MH9a5v009787>