components/imagemagick/patches/la.patch
author Jacob Varughese <jacob.varughese@oracle.com>
Fri, 22 May 2015 09:41:01 -0700
branchs11-update
changeset 4343 df06342a3259
parent 2721 3c9bd15584c4
child 3798 c0f7a9f723ca
child 6072 a1b208a8235a
permissions -rw-r--r--
20995313 Update to OpenSCAP 1.2.3 to pickup important bug fixes 20446640 CPE dictionary

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
 }