components/imagemagick/patches/no__attribute__.patch
author Mohana Rao Gorai <mohana.gorai@oracle.com>
Thu, 08 Aug 2013 12:54:44 -0700
branchs11-update
changeset 2721 3c9bd15584c4
child 3798 c0f7a9f723ca
permissions -rw-r--r--
15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd 15803946 problem in UTILITY/IMAGEMAGICK 16615558 problem in UTILITY/IMAGEMAGICK 16690414 convert(1) dumps core while converting PDF to JPEG 16843035 I think we forgot to ship some imagemagick headers

ImageMagick uses many unsupported attributes by Oracle Solaris Studio.
Supported attributes are here:
http://docs.oracle.com/cd/E24457_01/html/E21991/gljol.html
================================================================================
--- ImageMagick-6.7.8/magick/method-attribute.h.orig	Sun Feb 19 10:15:53 2012
+++ ImageMagick-6.7.8/magick/method-attribute.h	Tue Oct 16 06:58:12 2012
@@ -110,7 +110,7 @@
 
 #if defined(MAGICKCORE_HAVE___ATTRIBUTE__)
 #  define magick_aligned(x)  __attribute__((aligned(x)))
-#  define magick_attribute  __attribute__
+#  define magick_attribute(x)
 #  define magick_unused(x)  magick_unused_ ## x __attribute__((unused))
 #else
 #  define magick_aligned(x)  /* nothing */