Accepting request 140966 from GNOME:Factory

tweak (forwarded request 140965 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/140966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libproxy?expand=0&rev=48
This commit is contained in:
Stephan Kulow 2012-11-13 08:41:50 +00:00 committed by Git OBS Bridge
commit f95952b638
5 changed files with 33 additions and 0 deletions

15
cmake-2.8.10-compat.diff Normal file
View File

@ -0,0 +1,15 @@
--- cmake/CMakeDetermineCSharpCompiler.cmake.old 2012-11-12 12:17:02.099397946 +0100
+++ cmake/CMakeDetermineCSharpCompiler.cmake 2012-11-12 12:19:46.425382193 +0100
@@ -92,7 +92,11 @@
endif (CMAKE_CSharp_COMPILER)
# configure variables set in this file for fast reload later on
+if(NOT CMAKE_PLATFORM_INFO_DIR) # pre-2.8.10
+ set(CMAKE_PLATFORM_INFO_DIR ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY})
+endif()
+
configure_file(${CMAKE_SOURCE_DIR}/cmake/CMakeCSharpCompiler.cmake.in
- ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeCSharpCompiler.cmake IMMEDIATE @ONLY)
+ ${CMAKE_PLATFORM_INFO_DIR}/CMakeCSharpCompiler.cmake IMMEDIATE @ONLY)
set(CMAKE_CSharp_COMPILER_ENV_VAR "CSC")

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 12 11:26:35 UTC 2012 - cgiboudeaux@gmx.com
- Add cmake-2.8.10-compat.diff: fixes a CMake error with
CMake >= 2.8.10 (bnc#789219).
-------------------------------------------------------------------
Tue Oct 16 07:15:34 UTC 2012 - dimstar@opensuse.org

View File

@ -47,6 +47,8 @@ Source: http://libproxy.googlecode.com/files/%{_name}-%{version}.tar.gz
# Script used for automatic snapshot updates
Source98: update-from-svn.sh
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM cmake-2.8.10-compat.diff bnc#789219 cgiboudeaux@gmx.com -- Fix build with CMake >= 2.8.10, see http://mail.kde.org/pipermail/kde-buildsystem/2012-November/008948.html
Patch0: cmake-2.8.10-compat.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: gcc-c++
@ -310,6 +312,7 @@ about network configuration changes.
%prep
%setup -q -n %{_sourcename}
%patch0
mkdir build
%build

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Nov 12 11:26:35 UTC 2012 - cgiboudeaux@gmx.com
- Add cmake-2.8.10-compat.diff: fixes a CMake error with
CMake >= 2.8.10 (bnc#789219).
-------------------------------------------------------------------
Tue Oct 16 07:15:34 UTC 2012 - dimstar@opensuse.org

View File

@ -47,6 +47,8 @@ Source: http://libproxy.googlecode.com/files/%{_name}-%{version}.tar.gz
# Script used for automatic snapshot updates
Source98: update-from-svn.sh
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM cmake-2.8.10-compat.diff bnc#789219 cgiboudeaux@gmx.com -- Fix build with CMake >= 2.8.10, see http://mail.kde.org/pipermail/kde-buildsystem/2012-November/008948.html
Patch0: cmake-2.8.10-compat.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake
BuildRequires: gcc-c++
@ -310,6 +312,7 @@ about network configuration changes.
%prep
%setup -q -n %{_sourcename}
%patch0
mkdir build
%build