void-packages/srcpkgs/ripright/patches/imagemagick7.patch

23 lines
598 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -17,7 +17,7 @@ PKG_PROG_PKG_CONFIG
# Checks for libraries.
PKG_CHECK_MODULES([flac], [flac >= 1.1.4])
-PKG_CHECK_MODULES([MagickWand], [Wand])
+PKG_CHECK_MODULES([MagickWand], [MagickWand])
PKG_CHECK_MODULES([libcurl], [libcurl])
PKG_CHECK_MODULES([libdiscid], [libdiscid])
AC_CHECK_LIB([cdda_paranoia], [paranoia_init])
--- a/src/art.c
+++ b/src/art.c
@@ -24,7 +24,7 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include <wand/MagickWand.h>
+#include <MagickWand/MagickWand.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>