components/imagemagick/patches/la.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Wed, 13 Apr 2011 09:58:06 -0700
changeset 181 87e11e685b1f
parent 168 5884bc1edfdf
child 1255 b7b09f9348b7
permissions -rw-r--r--
7003927 userland should postprocess packaged files 7034188 userland should have common lint library rules 7034992 userland packages should include opensolaris.arc_url data 7019309 move ghostscript to userland (fix build)

*** ImageMagick-6.3.4/magick/module.c.orig	Thu Apr 12 20:00:07 2007
--- ImageMagick-6.3.4/magick/module.c	Thu Apr 12 20:00:45 2007
***************
*** 71,77 ****
    Define declarations.
  */
  #if defined(HasLTDL)
! #  define ModuleGlobExpression "*.la"
  #else
  #  if defined(_DEBUG)
  #    define ModuleGlobExpression "IM_MOD_DB_*.dll"
--- 71,77 ----
    Define declarations.
  */
  #if defined(HasLTDL)
! #  define ModuleGlobExpression "*.so"
  #else
  #  if defined(_DEBUG)
  #    define ModuleGlobExpression "IM_MOD_DB_*.dll"
***************
*** 1271,1277 ****
    (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",tag);
    assert(name != (char *) NULL);
  #if defined(HasLTDL)
!   (void) FormatMagickString(name,MaxTextExtent,"%s.la",tag);
    (void) LocaleLower(name);
  #else
  #if defined(__WINDOWS__)
--- 1271,1277 ----
    (void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",tag);
    assert(name != (char *) NULL);
  #if defined(HasLTDL)
!   (void) FormatMagickString(name,MaxTextExtent,"%s.so",tag);
    (void) LocaleLower(name);
  #else
  #if defined(__WINDOWS__)
***************
*** 1322,1328 ****
  #if !defined(HasLTDL)
    (void) FormatMagickString(name,MaxTextExtent,"%s.dll",tag);
  #else
!   (void) FormatMagickString(name,MaxTextExtent,"%s.la",tag);
    (void) LocaleLower(name);
  #endif
  }
--- 1322,1328 ----
  #if !defined(HasLTDL)
    (void) FormatMagickString(name,MaxTextExtent,"%s.dll",tag);
  #else
!   (void) FormatMagickString(name,MaxTextExtent,"%s.so",tag);
    (void) LocaleLower(name);
  #endif
  }