From: Arkadiusz Miśkiewicz Date: Tue, 11 Jun 2013 19:59:20 +0000 (+0200) Subject: - rel 2; fix imagemagick detection from upstream X-Git-Tag: auto/th/cmake-2.8.11.1-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcmake.git;a=commitdiff_plain;h=53357b6b47d1e61e29dfe90363402456687dde10 - rel 2; fix imagemagick detection from upstream --- diff --git a/cmake-git.patch b/cmake-git.patch new file mode 100644 index 0000000..9c919bd --- /dev/null +++ b/cmake-git.patch @@ -0,0 +1,22 @@ +commit 3de9bb48a5d7976d5f22e3c7c0f95cfda102ed8a +Author: Funda Wang +Date: Tue May 28 06:17:49 2013 +0000 + + FindImageMagick: Find v6 include dir (#14174) + + The header files of ImageMagick are now located at + /include/ImageMagick-6 instead of /include/ImageMagick. + +diff --git a/Modules/FindImageMagick.cmake b/Modules/FindImageMagick.cmake +index cd97b38..02a5777 100644 +--- a/Modules/FindImageMagick.cmake ++++ b/Modules/FindImageMagick.cmake +@@ -81,7 +81,7 @@ function(FIND_IMAGEMAGICK_API component header) + ${ImageMagick_INCLUDE_DIRS} + "[HKEY_LOCAL_MACHINE\\SOFTWARE\\ImageMagick\\Current;BinPath]/include" + PATH_SUFFIXES +- ImageMagick ++ ImageMagick ImageMagick-6 + DOC "Path to the ImageMagick include dir." + ) + find_library(ImageMagick_${component}_LIBRARY diff --git a/cmake.spec b/cmake.spec index 325eb0b..e37c141 100644 --- a/cmake.spec +++ b/cmake.spec @@ -13,7 +13,7 @@ Summary: Cross-platform, open-source make system Summary(pl.UTF-8): Wieloplatformowy system make o otwartych źródłach Name: cmake Version: 2.8.11.1 -Release: 1 +Release: 2 License: BSD Group: Development/Building Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz @@ -21,6 +21,7 @@ Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz Patch0: %{name}-lib64.patch Patch1: %{name}-helpers.patch Patch2: cmake-findruby.patch +Patch3: cmake-git.patch URL: http://www.cmake.org/ %{?with_gui:BuildRequires: QtGui-devel} BuildRequires: libarchive-devel @@ -94,6 +95,7 @@ Bashowe dopełnianie parametrów dla cmake'a. %endif %patch1 -p1 %patch2 -p1 +%patch3 -p1 cat > "init.cmake" <