Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70539 - nvidia-glx-1.0.6629 requires patching to allow quake2-icculus to compile
Summary: nvidia-glx-1.0.6629 requires patching to allow quake2-icculus to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 22:16 UTC by Dion Sole
Modified: 2004-11-09 17:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dion Sole 2004-11-08 22:16:41 UTC
the older nvidia-glx packages had a patch to fix the glext.h/gl.h header file issue. Without this patch, quake2-icculus cant compile cleanly, complaining about a missing #define thats actually in the glext.h header.
Copying the NVIDIA_glx-1.0.6111-glheader.patch file over to files/1.0.6629, renaming it appropriately and editing the 1.0.6629 ebuild to apply this patch fixes the issue.



Reproducible: Always
Steps to Reproduce:
1. emerge nvidia-glx-1.0.6629
2. opengl-update nvidia
3. emerge quake2-icculus

Actual Results:  
quake2-icculus fails as it cant find a #define thats defined in glext.h.


Expected Results:  
quake2-icculus should compile cleanly.


Output of `emerge info`:

Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041021-r0,
2.6.9-gentoo-r3 i686)
=================================================================
System uname: 2.6.9-gentoo-r3 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.5
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ftracer -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="candy ccache distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://linux.jetstreamgames.co.nz/gentoo
ftp://mirror.pacific.net.au/linux/Gentoo                
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aalib acl acpi aim alsa apache2 audiofile avi bcmath bidi
bitmap-fonts bmp bzlib caps cdr cjk crypt cups curl curlwrappers dedicated dga
dio directfb divx4linux doc dvd emacs encode exif f77 fam fbcon fftw flac
foomaticdb fortran freewnn ftp ggi gif ginac gmp gnutls gpm gstreamer gtk gtk2
gtkhtml guile iconv icq imagemagick imap imlib jabber jack java jikes jpeg
kerberos krb4 lcms ldap leim lesstif libwww mad mailwrapper mbox mcal memlimit
mikmod milter mime mmap mmx mng motif mpeg msn mule ncurses nls nocd nptl
offensive oggvorbis openal opengl oscar oss pam pcntl pcre pdflib perl pic png
posix ppds python quicktime readline recode ruby samba sasl sdl shared sharedmem
slp sndfile snmp sockets socks5 spell sse ssl svg svga sysvipc tcltk tcpd theora
tiff truetype unicode usb videos wmf wxwindows x86 xine xml2 xmlrpc xosd xpm xsl
xv xvid yahoo zlib"
Comment 1 Graham Hudspith 2004-11-09 08:38:51 UTC
Just came across this one myself. Original bug report for 6106 version of the nVidia driver can be found at http://bugs.gentoo.org/show_bug.cgi?id=56146. These fixes were carried through to the ebuild for 6111 but seem to have dropped off the edge of the planet where the ebuild for 6629 is concerned.

Please can we have the fixes re-applied?

Not just OpenGL games that are affected. My development machine at work runs Gentoo (otherwise a Fedora shop) and had to get all defensive about why our latest product had stopped working on my machine after updating the nVidia driver!
Comment 2 Andrew Bevitt 2004-11-09 16:15:04 UTC
Yep, ok, I was actually waiting to see if this was going to be necessary.
Comment 3 Andrew Bevitt 2004-11-09 17:42:54 UTC
Done.