emergeing dev-games/newton-1.53 fails for me, when it tries to compile the tutorials. Reproducible: Always Steps to Reproduce: 1.emerge dev-games/newton with doc USE set 2. 3. samples/toolBox/stdafx.h includes <glut.h>. It should use <GL/glut.h> Don't know, if it's just me, but patch follows as well as usual emerge ---info Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-gentoo i686) ================================================================= System uname: 2.6.21-gentoo i686 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 12 May 2007 12:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.intergenia.de http://gentoo.inode.at/ http://gentoo.ynet.sk/pub" LANG="de_DE@euro" LC_ALL="de_DE@euro" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="16bit 3dnow 3dnowext X a52 aac aalib acl acpi ada aiglx alsa ao arts artswrappersuid artworkextra asf asm async audiofile bash-completion bcmath berkdb bitmap-fonts blender-game bzip2 c++ cairo cdda cddb cdio cdparanoia cdr cdrom cegui cg cli cracklib crypt css cups cvs dbus devil dga dio directfb dri dvd dvdr dvdread eds effects encode enscript evo examples extrafilters fam fame fbcon ffmpeg fftw firefox flac fluidsynth fmod fortran freetype gdbm gif gimp gphoto2 gpm gstreamer gtk hal hbci iconv idn imagemagick imap insecure-savers ipod jack jack-tmpfs java javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kerberos kqemu ladcca ladspa lame lcms ldap libcaca libg++ libsamplerate lm_sensors logitech-mouse lua lzo mad maildir matroska midi mikmod mjpeg mmap mmx mmxext mng mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg2 mplayer musepack mysql mysqli ncurses netjack network nls no-old-linux nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis ogre openal opengl oss pam pascal pcre pdf perl physfs plugin png povray ppds pppd python qt3 qt3support qt4 quicktime readline real reflection roe rtc ruby scanner sdl session sharedmem smime sndfile soundtouch sox speex spell spl sse sse-filters sse2 ssl stencil-buffer subtitles svg sysfs tcpd tetex tga theora threads tiff timidity truetype truetype-fonts type1-fonts unicode usb vcd visualization vorbis webdav win32codecs wma wma123 wmf x86 xcomposite xforms xfs xine xml xml2 xorg xpm xrandr xscreensaver xv xvid xvmc yv12 zlib" ALSA_CARDS="ens1371 ice1712 mpu401" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 119009 [details, diff] Patch to fix the wrong include
Created attachment 119011 [details] ebuild using fix_glut_include.patch
Thanks.