summaryrefslogtreecommitdiff
path: root/net-misc/owncloud-client/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-23 09:44:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-23 09:44:00 +0000
commit8d15cb8238a384acdb70250a0cd213f2ab5f0ab6 (patch)
tree547dd4d959be6b14e702d37e94063dc2104319a5 /net-misc/owncloud-client/files
parent71fb24e4cc15fe73651423df81c5e6a79fa8c142 (diff)
gentoo auto-resync : 23:02:2023 - 09:44:00
Diffstat (limited to 'net-misc/owncloud-client/files')
-rw-r--r--net-misc/owncloud-client/files/owncloud-client-3.2.0.10193-no_fortify_override.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/owncloud-client/files/owncloud-client-3.2.0.10193-no_fortify_override.patch b/net-misc/owncloud-client/files/owncloud-client-3.2.0.10193-no_fortify_override.patch
new file mode 100644
index 000000000000..266596b7bd54
--- /dev/null
+++ b/net-misc/owncloud-client/files/owncloud-client-3.2.0.10193-no_fortify_override.patch
@@ -0,0 +1,16 @@
+diff -Naur ownCloud-3.2.0.10193.orig/src/CMakeLists.txt ownCloud-3.2.0.10193/src/CMakeLists.txt
+--- ownCloud-3.2.0.10193.orig/src/CMakeLists.txt 2023-02-15 18:27:55.000000000 +0100
++++ ownCloud-3.2.0.10193/src/CMakeLists.txt 2023-02-22 22:55:29.352847663 +0100
+@@ -16,12 +16,6 @@
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-strong")
+ endif()
+ endif()
+-
+- string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
+- if(CMAKE_BUILD_TYPE_LOWER MATCHES "(release|relwithdebinfo|minsizerel)")
+- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_FORTIFY_SOURCE=2")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FORTIFY_SOURCE=2")
+- endif()
+ endif()
+
+ if(WIN32)