Created attachment 319468 [details] build.log make[4]: Entering directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0/progs/demos/smooth_opengl3' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -O2 -pipe -march=amdfam10 -Wall -pedantic -c -o smooth_opengl3-smooth_opengl3.o `test -f 'smooth_opengl3.c' || echo './'`smooth_opengl3.c smooth_opengl3.c:107:25: error: conflicting types for ‘PFNGLSHADERSOURCEPROC’ /usr/include/GL/glext.h:6053:25: note: previous declaration of ‘PFNGLSHADERSOURCEPROC’ was here make[4]: *** [smooth_opengl3-smooth_opengl3.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/media-libs/freeglut-2.8.0/work/freeglut-2.8.0/progs/demos/smooth_opengl3'
Created attachment 319470 [details, diff] freeglut-2.8.0-disable-smooth-opengl3-demo.patch Patch to disable the problematic demo, allowing the build to complete successfully.
+1 on this patch, it fixes the src_prepare for me. X devs: please merge.
A simpler version of this fix was committed in 2.8.0-r1.