summaryrefslogtreecommitdiffstats
path: root/redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2013-01-07 22:01:14 +0100
committerFrancois Andriot <francois.andriot@free.fr>2013-01-07 22:01:14 +0100
commit0b6cf1d91af0dc06ac1aedf6d6eba438c18c7e8f (patch)
tree70b7ca5229f712fd733cbe023e7f1347e432261f /redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch
parent32c6bd4f88baa67c89d8c55cacf79d6a4819c2da (diff)
downloadtde-packaging-0b6cf1d91af0dc06ac1aedf6d6eba438c18c7e8f.tar.gz
tde-packaging-0b6cf1d91af0dc06ac1aedf6d6eba438c18c7e8f.zip
RPM packaging: adds forgotten files for kdenetwork
Diffstat (limited to 'redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch')
-rw-r--r--redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch b/redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch
new file mode 100644
index 000000000..e97a4ec27
--- /dev/null
+++ b/redhat/kdenetwork/kdenetwork-3.5.13.1-add_cmake_macro.patch
@@ -0,0 +1,24 @@
+From caedf8323c45b376c824de343f31de78664b2511 Mon Sep 17 00:00:00 2001
+From: Serghei Amelian <serghei.amelian@gmail.com>
+Date: Sun, 12 Feb 2012 21:08:53 +0000
+Subject: [TDEMacros.cmake] added tde_save_and_set() macro
+
+---
+diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
+index 075b7eb..1091755 100644
+--- a/modules/TDEMacros.cmake
++++ b/modules/TDEMacros.cmake
+@@ -1283,6 +1283,11 @@ macro( tde_save )
+ endforeach()
+ endmacro()
+
++macro( tde_save_and_set _var )
++ set( __bak_${_var} ${${_var}} )
++ set( ${_var} ${ARGN} )
++endmacro( )
++
+ macro( tde_restore )
+ foreach( _var ${ARGN} )
+ set( ${_var} ${__bak_${_var}} )
+--
+cgit v0.9.0.2-39-g756e