- Add cmake-gettext-typo.patch to fix gettext detection

OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=101
This commit is contained in:
Ismail Dönmez 2012-11-14 12:55:57 +00:00 committed by Git OBS Bridge
parent ed4a6a8513
commit a6236def16
3 changed files with 17 additions and 0 deletions

10
cmake-gettext-typo.patch Normal file
View File

@ -0,0 +1,10 @@
Index: cmake-2.8.10.1/Modules/FindGettext.cmake
===================================================================
--- cmake-2.8.10.1.orig/Modules/FindGettext.cmake
+++ cmake-2.8.10.1/Modules/FindGettext.cmake
@@ -210,4 +210,4 @@ function(GETTEXT_PROCESS_PO_FILES _lang)
endfunction()
-set(GETTEXT_FOUND ${Gettext_FOUND})
+set(GETTEXT_FOUND ${GETTEXT_FOUND})

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Nov 14 12:55:10 UTC 2012 - idonmez@suse.com
- Add cmake-gettext-typo.patch to fix gettext detection
-------------------------------------------------------------------
Wed Nov 7 21:24:45 UTC 2012 - cgiboudeaux@gmx.com

View File

@ -23,6 +23,7 @@ Url: http://www.cmake.org/
Source0: http://www.cmake.org/files/v2.8/%{name}-%{version}.tar.gz
Patch1: cmake-disable-builtin-chrpath.diff
Patch2: cmake-fix-ruby-test.patch
Patch3: cmake-gettext-typo.patch
Summary: Cross-platform, open-source make system
License: BSD-3-Clause
Group: Development/Tools/Building
@ -51,6 +52,7 @@ CMake is a cross-platform, open-source make system
%setup -q
%patch1
%patch2
%patch3 -p1
%build
export CXXFLAGS="$RPM_OPT_FLAGS"