git: 3e31e1530fa3 - main - math/kamis: Fix build on armv7

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 03:16:21 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3e31e1530fa3087611f35910d75ac67a0cd1f186

commit 3e31e1530fa3087611f35910d75ac67a0cd1f186
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-13 03:15:48 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-13 03:16:19 +0000

    math/kamis: Fix build on armv7
    
    Reported by:    fallout
---
 math/kamis/files/patch-wmis_CMakeLists.txt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/math/kamis/files/patch-wmis_CMakeLists.txt b/math/kamis/files/patch-wmis_CMakeLists.txt
new file mode 100644
index 000000000000..d528aa714b66
--- /dev/null
+++ b/math/kamis/files/patch-wmis_CMakeLists.txt
@@ -0,0 +1,13 @@
+- workaround for https://github.com/KarlsruheMIS/KaMIS/issues/30
+
+--- wmis/CMakeLists.txt.orig	2022-07-13 03:12:06 UTC
++++ wmis/CMakeLists.txt
+@@ -5,7 +5,7 @@ if (NOT CMAKE_BUILD_TYPE)
+     set(CMAKE_BUILD_TYPE Release) 
+ endif (NOT CMAKE_BUILD_TYPE)
+ 
+-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-omit-frame-pointer -march=native -DNDEBUG -fPIC -O3 ")
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-omit-frame-pointer -DNDEBUG -fPIC -O3 ")
+ 
+ CHECK_CXX_COMPILER_FLAG(-Wno-unused-value COMPILER_SUPPORTS_NOUNUSED)
+ if(COMPILER_SUPPORTS_NOUNUSED)