Strawberry Perl compatibility patch

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kmx
Posts: 1
Joined: 2014-09-21T11:08:31-07:00
Authentication code: 6789

Strawberry Perl compatibility patch

Post by kmx »

Please consider applying this patch

Code: Select all

diff -ru PerlMagick-6.89/Makefile.PL PerlMagick-6.89_patched/Makefile.PL
--- PerlMagick-6.89/Makefile.PL	2014-08-15 14:56:32.000000000 +0200
+++ PerlMagick-6.89_patched/Makefile.PL	2014-09-21 19:44:50.812742800 +0200
@@ -174,7 +174,7 @@
   # Setup for strawberry perl.
   #
   $INC_magick       = "$Ipaths";
-  $LIBS_magick      = "-lMagickCore-6.Q16";
+  $LIBS_magick      = "-lMagickCore"; # use here just plain 'MagickCore' no version info
   $CCFLAGS_magick   = "$Config{'ccflags'}";
   $LDFLAGS_magick   = "$Config{'ldflags'} $Lpaths ";
   $LDDLFLAGS_magick = "$Config{'lddlflags'} $Lpaths ";
diff -ru PerlMagick-6.89/Makefile.PL.in PerlMagick-6.89_patched/Makefile.PL.in
--- PerlMagick-6.89/Makefile.PL.in	2014-08-15 14:55:25.000000000 +0200
+++ PerlMagick-6.89_patched/Makefile.PL.in	2014-09-21 19:51:31.345742800 +0200
@@ -174,7 +174,7 @@
   # Setup for strawberry perl.
   #
   $INC_magick       = "$Ipaths";
-  $LIBS_magick      = "-lMagickCore-@MAGICK_ABI_SUFFIX@";
+  $LIBS_magick      = "-lMagickCore"; # use here just plain 'MagickCore' no version info
   $CCFLAGS_magick   = "$Config{'ccflags'}";
   $LDFLAGS_magick   = "$Config{'ldflags'} $Lpaths ";
   $LDDLFLAGS_magick = "$Config{'lddlflags'} $Lpaths ";
--
kmx (strawberry perl maintainer)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Strawberry Perl compatibility patch

Post by magick »

We'll apply the patch and export PerlMagick 6.89 to CPAN within a day or two. Thanks.
Post Reply