Summary: | media-libs/jpeg-7 does not install jpegint.h | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Plopmaster <gentoo> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Plopmaster
2009-10-06 16:40:23 UTC
You may consider this a duplicate (in a way) of bug 282765. Short of it - NOTABUG. And if that photomolo is in the tree (doesn't seem that way), it will be probably treated as an upstream bug. jpeglib.h: <quote> * Applications using the library should not include jpegint.h, but may wish * to include jerror.h. </quote> It might get included by jpeglib.h if the external program sets #define JPEG_INTERNALS, this is wrong... Instead it should include jerror.h by itself if required. Closing. Found photomolo from Freshmeat, with this patch it will build without jpegint.h. --- photomolo-1.3.orig/exifiron.c 2008-12-29 13:20:42.000000000 +0200 +++ photomolo-1.3/exifiron.c 2009-10-07 01:51:50.000000000 +0300 @@ -78,11 +78,6 @@ #define EXIFIRON_VERSION "exifiron 1.3" -/* Although this file really should not have access to the library internals, - * it is helpful to let it call jround_up () and jcopy_block_row (). - */ -#define JPEG_INTERNALS - #include "jpeglib.h" #include "jerror.h" |