[neon/extras/exiv2/Neon/unstable] debian/patches: ignore fcf-protection which does not work on arm

Jonathan Riddell null at kde.org
Mon Nov 23 12:29:38 GMT 2020


Git commit 2aa3ab4da54f62df00c6d10d4dd5b66920992fc7 by Jonathan Riddell.
Committed on 23/11/2020 at 12:29.
Pushed by jriddell into branch 'Neon/unstable'.

ignore fcf-protection which does not work on arm

A  +13   -0    debian/patches/neon_fcf-protection.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/extras/exiv2/commit/2aa3ab4da54f62df00c6d10d4dd5b66920992fc7

diff --git a/debian/patches/neon_fcf-protection.diff b/debian/patches/neon_fcf-protection.diff
new file mode 100644
index 00000000..b43ed3d9
--- /dev/null
+++ b/debian/patches/neon_fcf-protection.diff
@@ -0,0 +1,13 @@
+Index: exiv2-0.27.3/cmake/compilerFlags.cmake
+===================================================================
+--- exiv2-0.27.3.orig/cmake/compilerFlags.cmake
++++ exiv2-0.27.3/cmake/compilerFlags.cmake
+@@ -26,7 +26,7 @@ if ( MINGW OR UNIX OR MSYS ) # MINGW, Li
+         # This fails under Fedora, MinGW GCC 8.3.0 and CYGWIN/MSYS 9.3.0
+         if (NOT (MINGW OR CMAKE_HOST_SOLARIS OR CYGWIN OR MSYS) )
+             if (COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8.0)
+-                add_compile_options(-fstack-clash-protection -fcf-protection)
++                add_compile_options(-fstack-clash-protection)
+             endif()
+ 
+             if( (COMPILER_IS_GCC   AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 5.0) # Not in GCC 4.8
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..105ffe59
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+neon_fcf-protection.diff


More information about the Neon-commits mailing list