ImageMagick/ImageMagick-6.8.4.0-fix-wand.pc.patch
Factory Maintainer d0fc79a2a4 Accepting request 163063 from home:coolo:branches:openSUSE:Factory
- add ImageMagick-6.8.4.0-fix-wand.pc.patch to fix build of e.g.
  emacs and xine-lib, who rely on pkg-config --libs Wand returning
  actually MagickWand and not MagickCore (looks like a copy&paste
  error of upstream)

OBS-URL: https://build.opensuse.org/request/show/163063
OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=148
2013-04-07 12:18:55 +00:00

18 lines
713 B
Diff

Index: ImageMagick-6.8.4-0/wand/Wand.pc.in
===================================================================
--- ImageMagick-6.8.4-0.orig/wand/Wand.pc.in
+++ ImageMagick-6.8.4-0/wand/Wand.pc.in
@@ -2,10 +2,10 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-libname=MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+libname=MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
Name: MagickWand
-Description: MagickCore - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+Description: MagickWand - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
Version: @PACKAGE_VERSION@
Requires: MagickCore
Libs: -L${libdir} -l${libname}