quake2-icculus build problem after updating from jpeg-7 to jpeg-8. src/ref_candygl/gl_image.c:779: error: conflicting types for ‘jpeg_mem_src’ /usr/include/jpeglib.h:959: error: previous declaration of ‘jpeg_mem_src’ was here src/ref_candygl/gl_image.c: In function ‘jpeg_mem_src’: src/ref_candygl/gl_image.c:783: warning: assignment from incompatible pointer type src/ref_candygl/gl_image.c: In function ‘GL_FreeUnusedImages’: src/ref_candygl/gl_image.c:1789: warning: pointer targets in passing argument 2 of ‘qglDeleteTextures’ differ in signedness src/ref_candygl/gl_image.c: In function ‘GL_ShutdownImages’: src/ref_candygl/gl_image.c:1944: warning: pointer targets in passing argument 2 of ‘qglDeleteTextures’ differ in signedness make[1]: *** [releasei386/ref_gl/gl_image.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/work/quake2-r0.16.1' make: *** [build_release] Error 2 * ERROR: games-fps/quake2-icculus-0.16.1-r1 failed: * make failed * * Call stack: * ebuild.sh, line 54: Called src_compile * environment, line 2615: Called die * The specific snippet of code: * emake -j1 build_release BUILD_SDLQUAKE2=$(yesno sdl) BUILD_SVGA=$(yesno svga) BUILD_X11=$(yesno X) BUILD_GLX=$(yesno opengl) BUILD_SDL=$(yesno sdl) BUILD_SDLGL=$(yesno sdl opengl) BUILD_CTFDLL=YES BUILD_XATRIX=$(yesno xatrix) BUILD_ROGUE=$(yesno rogue) BUILD_JOYSTICK=$(yesno joystick) BUILD_DEDICATED=$(yesno dedicated) BUILD_AA=$(yesno aalib) BUILD_QMAX=${BUILD_QMAX} HAVE_IPV6=$(yesno ipv6) BUILD_ARTS=NO BUILD_ALSA=NO SDLDIR=/usr/lib DEFAULT_BASEDIR="${GAMES_DATADIR}/quake2" DEFAULT_LIBDIR="$(games_get_libdir)/${PN}${libsuffix}" OPT_CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die "make failed"; * * If you need support, post the output of 'emerge --info =games-fps/quake2-icculus-0.16.1-r1', * the complete build log and the output of 'emerge -pqv =games-fps/quake2-icculus-0.16.1-r1'. * The complete build log is located at '/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/temp/environment'. * S: '/var/tmp/portage/games-fps/quake2-icculus-0.16.1-r1/work/quake2-r0.16.1' Reproducible: Always Steps to Reproduce: 1. update to media-libs/jpeg-8 2. try to build quake2-icculus
+ 22 Feb 2010; Samuli Suominen <ssuominen@gentoo.org> + quake2-icculus-0.16.1-r1.ebuild: + Fix building with jpeg-8 (conflicting type of jpeg_mem_src) wrt #306345, + thanks to Alexander Tsoy for reporting.