Hello community,

here is the log from the commit of package cmake for openSUSE:Factory checked 
in at 2016-08-18 09:14:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cmake (Old)
 and      /work/SRC/openSUSE:Factory/.cmake.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cmake"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cmake/cmake.changes      2016-08-08 
13:56:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cmake.new/cmake.changes 2016-08-18 
09:14:41.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Aug  8 00:18:51 UTC 2016 - [email protected]
+
+- Add cmake-hdf5-detection.patch to fix detection of hdf5 with
+  cmake >= 3.6
+  (https://gitlab.kitware.com/cmake/cmake/issues/16225).
+
+-------------------------------------------------------------------

New:
----
  cmake-hdf5-detection.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cmake.spec ++++++
--- /var/tmp/diff_new_pack.ljTMke/_old  2016-08-18 09:14:42.000000000 +0200
+++ /var/tmp/diff_new_pack.ljTMke/_new  2016-08-18 09:14:42.000000000 +0200
@@ -38,6 +38,8 @@
 Patch5:         system-libs.patch
 # PATCH-FIX-UPSTREAM cmake-version-in-generated-files.patch -- version number 
to be found in OBS
 Patch6:         cmake-version-in-generated-files.patch
+# PATCH-FIX-UPSTREAM cmake-hdf5-detection.patch [email protected] -- Fix 
hdf5 detection with cmake >= 3.6 
(https://gitlab.kitware.com/cmake/cmake/issues/16225)
+Patch7:         cmake-hdf5-detection.patch
 BuildRequires:  curl-devel
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -70,6 +72,7 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 # FIXME: you should use the %%configure macro


++++++ cmake-hdf5-detection.patch ++++++
>From 8eb0b56c2ace0f005cba436268337f509e06033f Mon Sep 17 00:00:00 2001
From: Chuck Atkins <[email protected]>
Date: Tue, 2 Aug 2016 10:34:51 -0400
Subject: [PATCH] FindHDF5: Make sure compile definition vars keep the -D flag

---
 Modules/FindHDF5.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 50e1892..a898386 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -332,7 +332,7 @@ macro( _HDF5_parse_compile_line
     set( RE " -D([^ ]*)")
     string( REGEX MATCHALL "${RE}" definition_flags "${${compile_line_var}}" )
     foreach( DEF IN LISTS definition_flags )
-        string( REGEX REPLACE "${RE}" "\\1" DEF "${DEF}" )
+        string( STRIP "${DEF}" DEF )
         list( APPEND ${definitions} ${DEF} )
     endforeach()
 
--
libgit2 0.24.0




Reply via email to