Re: [GM-announce] GraphicsMagick 1.3.30 is released

Marco Atzeri <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <[email protected]>
Am 23.06.2018 um 23:08 schrieb Bob Friesenhahn:
> GraphicsMagick 1.3.30 (a general-purpose image processing package) is
> now available.  This release is the product of significant bug and
> security fixes due to GraphicsMagick now participating in Google's
> oss-fuzz project.  This release fixes 57 additional issues detected by
> oss-fuzz.
> 

Noted on a new cygwin system where no previous installation
was available

"/usr/bin/perl.exe" -MExtUtils::Command::MM -e 'cp_nonempty' -- 
Magick.bs blib/arch/auto/Graphics/Magick/Magick.bs 644
rm -f blib/arch/auto/Graphics/Magick/Magick.dll
gcc  -L/usr/lib  --shared  -Wl,--enable-auto-import 
-Wl,--export-all-symbols -Wl,--enable-auto-image-base 
-fstack-protector-strong Magick.o  -o 
blib/arch/auto/Graphics/Magick/Magick.dll  \
   /usr/lib/perl5/5.26/i686-cygwin-threads-64int/CORE/cygperl5_26.dll 
-L/usr/lib -L/usr/lib -ljbig -lwebp -lwebpmux -ltiff -lfreetype -ljasper 
-ljpeg -lpng16 -lXext -lX11 -llzma -lbz2 -lz -lm -lpthread   \

Magick.o: In function `MagickWarningHandler':
/usr/src/debug/GraphicsMagick-1.3.30-1/PerlMagick/Magick.xs:1077: 
undefined reference to `GetLocaleExceptionMessage'

The workaround, attached as patch, is

-   'LIBS'      => ["-L$magick_LIB_DIR -lGraphicsMagick $magick_LDFLAGS 
$magick_DEP_LIBS"],
+   'LIBS'      => ["-L$magick_LIB_DIR -L../magick/.libs 
-lGraphicsMagick $magick_LDFLAGS $magick_DEP_LIBS"],

Regards
Marco


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help
GraphicsMagick-1.3.30-1.src.patch (text/plain, 566 B)
--- origsrc/GraphicsMagick-1.3.30/PerlMagick/Makefile.PL.in	2018-01-20 15:31:41.000000000 +0100
+++ src/GraphicsMagick-1.3.30/PerlMagick/Makefile.PL.in	2018-07-08 11:26:33.198288300 +0200
@@ -78,7 +78,7 @@ WriteMakefile
    'INSTALLBIN'	=> $magick_BIN_DIR,
 
    # Library specification
-   'LIBS'	=> ["-L$magick_LIB_DIR -lGraphicsMagick $magick_LDFLAGS $magick_DEP_LIBS"],
+   'LIBS'	=> ["-L$magick_LIB_DIR -L../magick/.libs -lGraphicsMagick $magick_LDFLAGS $magick_DEP_LIBS"],
 
    # Perl binary name (if a Perl binary is built)
    'MAP_TARGET'	=> 'PerlMagick',
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.