[kde-runtime/f20] fix patch :-/

Rex Dieter rdieter at fedoraproject.org
Fri Dec 13 15:31:39 UTC 2013


commit dd049471f8de000522f5de4f00b7b7bbf9b72121
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Dec 13 09:31:38 2013 -0600

    fix patch :-/

 kde-runtime-kdesud_relro.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/kde-runtime-kdesud_relro.patch b/kde-runtime-kdesud_relro.patch
new file mode 100644
index 0000000..9d39f93
--- /dev/null
+++ b/kde-runtime-kdesud_relro.patch
@@ -0,0 +1,12 @@
+diff -up kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt.kdesud_relro kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt
+--- kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt.kdesud_relro	2013-06-28 12:12:33.252806331 -0500
++++ kde-runtime-4.11.3/kdesu/kdesud/CMakeLists.txt	2013-12-13 09:27:16.229035093 -0600
+@@ -15,6 +15,8 @@ kde4_add_executable(kdesud NOGUI ${kdesu
+ 
+ target_link_libraries(kdesud ${KDE4_KDESU_LIBS} ${KDE4_KDECORE_LIBS} ${X11_LIBRARIES})
+ 
++set_target_properties(kdesud PROPERTIES LINK_FLAGS "-Wl,-z,relro,-z,now")
++
+ if(KDE4_ENABLE_FPIE)
+     macro_add_compile_flags(kdesud ${KDE4_CXX_FPIE_FLAGS})
+     macro_add_link_flags(kdesud ${KDE4_PIE_LDFLAGS})


More information about the scm-commits mailing list