components/imagemagick/patches/la.patch
author Mohana Rao Gorai <mohana.gorai@oracle.com>
Tue, 20 Aug 2013 07:16:40 +0200
branchs11u1-sru
changeset 2735 38548c092c06
parent 168 5884bc1edfdf
child 3798 c0f7a9f723ca
child 6072 a1b208a8235a
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

To avoid dependency on libtool/libltdl, change "*.la" extension
to "*.so"
-----------------------------------------------------------------

--- ImageMagick-6.7.8/magick/module.c	Sun Dec 18 17:54:26 2011
+++ ImageMagick-6.7.8/magick/module.c	Thu Oct  4 00:00:46 2012
@@ -72,7 +72,7 @@
   Define declarations.
 */
 #if defined(MAGICKCORE_LTDL_DELEGATE)
-#  define ModuleGlobExpression "*.la"
+#  define ModuleGlobExpression "*.so"
 #else
 #  if defined(_DEBUG)
 #    define ModuleGlobExpression "IM_MOD_DB_*.dll"
@@ -1454,7 +1454,7 @@
   (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",tag);
   assert(name != (char *) NULL);
 #if defined(MAGICKCORE_LTDL_DELEGATE)
-  (void) FormatLocaleString(name,MaxTextExtent,"%s.la",tag);
+  (void) FormatLocaleString(name,MaxTextExtent,"%s.so",tag);
   (void) LocaleLower(name);
 #else
 #if defined(MAGICKCORE_WINDOWS_SUPPORT)
@@ -1505,7 +1505,7 @@
 #if !defined(MAGICKCORE_LTDL_DELEGATE)
   (void) FormatLocaleString(name,MaxTextExtent,"%s.dll",tag);
 #else
-  (void) FormatLocaleString(name,MaxTextExtent,"%s.la",tag);
+  (void) FormatLocaleString(name,MaxTextExtent,"%s.so",tag);
 #endif
 }