media-gfx/imagemagick-6.9.0.3 emerge fails: In file included from coders/dps.c:50:0: coders/dps.c:96:32: error: expected identifier or '(' before 'const' static inline double MagickMin(const double x,const double y) ^ ./magick/image-private.h:28:28: note: in definition of macro 'MagickMin' #define MagickMin(x,y) (((x) < (y)) ? (x) : (y)) ^ ./magick/image-private.h:28:31: error: expected ')' before '<' token #define MagickMin(x,y) (((x) < (y)) ? (x) : (y)) ^ coders/dps.c:96:22: note: in expansion of macro 'MagickMin' static inline double MagickMin(const double x,const double y) ^ ./magick/image-private.h:28:38: error: expected ')' before '?' token #define MagickMin(x,y) (((x) < (y)) ? (x) : (y)) ^ coders/dps.c:96:22: note: in expansion of macro 'MagickMin' static inline double MagickMin(const double x,const double y) ^ I tracked the bug down (in 6.8.9.9) and posted it to upstream, where it was confirmed and patched in 6.9.0-6 beta http://www.imagemagick.org/discourse-server/viewtopic.php?t=27026 Latest release is 6.9.0-10. Let me know if you need more information, or if I should just continue waiting for a version bump to finally happen and resolve the issue.
Version is no longer available in Gentoo repository. Please re-open if you can reproduce with latest version.