A game i try to install uses internal functions of the jpeg library.
I've removed the bundled version and tried to replace it by the system version.
code in the game:
code in /usr/include/jpeglib.h
#include "jpegint.h" /* fetch private declarations */
#include "jerror.h" /* fetch error codes too */
jerror.h is installed, jpegint.h is not.
I see the comment in above file "... Applications using the library should not include jpegint.h ...", but would it be possible to add that anyhow?
Technically you have to add jpegint.h to INSTINCLUDES on line 303 of the Makefile.am/in
This is wrong way. Try first delete
line from game sources. This #define not should exist in external projects.
(In reply to comment #1)
> This is wrong way. Try first delete
> #define JPEG_INTERNALS
> line from game sources. This #define not should exist in external projects.
Thanks, i can read the comment inside the jpeg source by myself.
This 'just delete' works for urbanterror (bug 203296) and resulted in no obvious problems with the game/graphics. I have to check the server before closing this.
I'll close it for you, then. Please reopen the bug report only when you've established there is a real bug and it's Gentoo's to fix (like a supported ebuild or related Gentoo software).