xterm conflicts with xorg-clients
Alex Zbyslaw
xfb52 at dial.pipex.com
Mon Nov 14 20:49:36 GMT 2005
Alex Zbyslaw wrote:
> I believe upgrading xorg-clients and then xterm should work, if only
> that damn xorg-clients port would compile! I found this link late
> last night which might help, but haven't tried it myself yet.
>
> http://lists.freebsd.org/pipermail/freebsd-i386/2005-January/002040.html
I have created a patch based on this link, and now xorg-clients builds
just fine. I am attaching a gzipped version of the patch (no idea if
attachments will work to the list or not), or you can create one based
on the URL (but tabs/spaces will almost certainly mess you up). Unzip
it in /usr/ports/x11/xorg-clients/files
Or you can do (from memory):
cd /usr/ports/x11/xorg-clients
make clean extract
cd work/xc
cp programs/xdriinfo/xdriinfo.c programs/xdriinfo/xdriinfo.c.orig
* edit programs/xdriinfo/xdriinfo.c and change the glXGetProcAddress to
glXGetProcAddressARB on lines 61/2 (or thereabouts).
diff -u programs/xdriinfo/xdriinfo.c.orig programs/xdriinfo/xdriinfo.c >
../../files/patch-xdriinfo.c
cd ../..
make patch
(which should apply cleanly)
make
(which should finish normally)
Then if it all worked you can say "portupgrade -w x11/xorg-clients"
which should install what you have just rebuilt. The patch will survive
csvup and would need to be deleted if this issue is ever fixed.
Then portupgrade x11/xterm should work fine.
--Alex
More information about the freebsd-questions
mailing list