diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-04-06 12:39:50 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2018-04-06 13:04:47 +0200 |
commit | 527e36c0551a9c8060e267311eecc6b472b9860f (patch) | |
tree | a79e3fdfb2da16e0a68d84a280a3a3ac140525c4 /games-emulation/mgba | |
parent | dev-util/strace: Bump to version 4.22 (diff) | |
download | gentoo-527e36c0551a9c8060e267311eecc6b472b9860f.tar.gz gentoo-527e36c0551a9c8060e267311eecc6b472b9860f.tar.bz2 gentoo-527e36c0551a9c8060e267311eecc6b472b9860f.zip |
games-emulation/mgba: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/7839
Diffstat (limited to 'games-emulation/mgba')
-rw-r--r-- | games-emulation/mgba/files/mgba-0.5.2-imagemagick7.patch | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/games-emulation/mgba/files/mgba-0.5.2-imagemagick7.patch b/games-emulation/mgba/files/mgba-0.5.2-imagemagick7.patch deleted file mode 100644 index 965e66466e5c..000000000000 --- a/games-emulation/mgba/files/mgba-0.5.2-imagemagick7.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 2e3daaedc208824c9b8a54480bd614160cdda9e7 Mon Sep 17 00:00:00 2001 -From: Vicki Pfau <vi@endrift.com> -Date: Wed, 18 Jan 2017 12:51:05 -0800 -Subject: [PATCH] Feature: Support ImageMagick 7 - ---- -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 38120827e..6be159915 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -322,6 +322,7 @@ if(HAVE_UMASK) - endif() - - # Feature dependencies -+set(FEATURE_DEFINES) - set(FEATURES) - if(CMAKE_SYSTEM_NAME MATCHES .*BSD) - set(LIBEDIT_LIBRARIES -ledit) -@@ -431,11 +432,16 @@ if(USE_MAGICK) - list(APPEND FEATURE_SRC "${CMAKE_CURRENT_SOURCE_DIR}/src/feature/imagemagick/imagemagick-gif-encoder.c") - list(APPEND DEPENDENCY_LIB ${MAGICKWAND_LIBRARIES}) - string(REGEX MATCH "^[0-9]+\\.[0-9]+" MAGICKWAND_VERSION_PARTIAL ${MagickWand_VERSION}) -+ string(REGEX MATCH "^[0-9]+" MAGICKWAND_VERSION_MAJOR ${MagickWand_VERSION}) - if(${MAGICKWAND_VERSION_PARTIAL} EQUAL "6.7") - set(MAGICKWAND_DEB_VERSION "5") -+ elseif(${MagickWand_VERSION} EQUAL "6.9.7") -+ set(MAGICKWAND_DEB_VERSION "-6.q16-3") - else() - set(MAGICKWAND_DEB_VERSION "-6.q16-2") - endif() -+ list(APPEND FEATURE_DEFINES MAGICKWAND_VERSION_MAJOR=${MAGICKWAND_VERSION_MAJOR}) -+ - set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libmagickwand${MAGICKWAND_DEB_VERSION}") - endif() - -@@ -595,7 +601,6 @@ if(USE_DEBUGGERS) - list(APPEND FEATURES DEBUGGERS) - endif() - --set(FEATURE_DEFINES) - foreach(FEATURE IN LISTS FEATURES) - list(APPEND FEATURE_DEFINES "USE_${FEATURE}") - endforeach() -diff --git a/src/feature/imagemagick/imagemagick-gif-encoder.h b/src/feature/imagemagick/imagemagick-gif-encoder.h -index 13505e6db..842cad942 100644 ---- a/src/feature/imagemagick/imagemagick-gif-encoder.h -+++ b/src/feature/imagemagick/imagemagick-gif-encoder.h -@@ -15,7 +15,11 @@ CXX_GUARD_START - #define MAGICKCORE_HDRI_ENABLE 0 - #define MAGICKCORE_QUANTUM_DEPTH 8 - -+#if MAGICKWAND_VERSION_MAJOR >= 7 -+#include <MagickWand/MagickWand.h> -+#else - #include <wand/MagickWand.h> -+#endif - - struct ImageMagickGIFEncoder { - struct mAVStream d; |