Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428382 - media-libs/freeglut-2.8.0 fails to build against media-libs/mesa-8.1 smooth_opengl3.c:107:25: error: conflicting types for ‘PFNGLSHADERSOURCEPROC’
Summary: media-libs/freeglut-2.8.0 fails to build against media-libs/mesa-8.1 smooth_o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-27 23:40 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2012-07-30 21:39 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,33.28 KB, text/plain)
2012-07-27 23:40 UTC, Chí-Thanh Christopher Nguyễn
Details
freeglut-2.8.0-disable-smooth-opengl3-demo.patch (freeglut-2.8.0-disable-smooth-opengl3-demo.patch,2.56 KB, patch)
2012-07-28 00:01 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-27 23:40:49 UTC
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'
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-28 00:01:15 UTC
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.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-07-30 18:34:58 UTC
+1 on this patch, it fixes the src_prepare for me.
X devs: please merge.
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-07-30 21:39:18 UTC
A simpler version of this fix was committed in 2.8.0-r1.