forked from pool/cmake
Accepting request 247025 from devel:tools:building
- Add possible patch to fix random test failure * cmake-fix-module-loading-test.patch OBS-URL: https://build.opensuse.org/request/show/247025 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=94
This commit is contained in:
commit
4531870ef8
11
cmake-fix-module-loading-test.patch
Normal file
11
cmake-fix-module-loading-test.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -urN cmake-3.0.1.old/Modules/FindCurses.cmake cmake-3.0.1/Modules/FindCurses.cmake
|
||||
--- cmake-3.0.1.old/Modules/FindCurses.cmake 2014-09-01 10:01:38.114937449 +0200
|
||||
+++ cmake-3.0.1/Modules/FindCurses.cmake 2014-09-01 10:02:53.134937440 +0200
|
||||
@@ -39,6 +39,7 @@
|
||||
|
||||
find_library(CURSES_NCURSES_LIBRARY NAMES ncurses )
|
||||
set(CURSES_USE_NCURSES FALSE)
|
||||
+include(CheckLibraryExists)
|
||||
|
||||
if(CURSES_NCURSES_LIBRARY AND ((NOT CURSES_CURSES_LIBRARY) OR CURSES_NEED_NCURSES))
|
||||
set(CURSES_USE_NCURSES TRUE)
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 08:06:59 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Add possible patch to fix random test failure
|
||||
* cmake-fix-module-loading-test.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 20 10:45:49 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
|
@ -27,8 +27,10 @@ Source0: http://www.cmake.org/files/v3.0/%{name}-%{version}.tar.gz
|
||||
Source1: cmake.macros
|
||||
Source2: opensuse_rules.cmake
|
||||
Patch2: cmake-fix-ruby-test.patch
|
||||
#PATCH-FIX-UPSTREAM dvaleev@suse.com https://github.com/Kitware/CMake/pull/111.patch
|
||||
# PATCH-FIX-UPSTREAM dvaleev@suse.com https://github.com/Kitware/CMake/pull/111.patch
|
||||
Patch3: cmake-ppc64le-jni.patch
|
||||
# PATCH-FIX-UPSTREAM: tchvatal@suse.com failing test due to include order
|
||||
Patch4: cmake-fix-module-loading-test.patch
|
||||
BuildRequires: curl-devel
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@ -50,6 +52,7 @@ CMake is a cross-platform, open-source build system
|
||||
%setup -q
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
export CXXFLAGS="%{optflags}"
|
||||
|
Loading…
Reference in New Issue
Block a user