diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-05-03 14:53:30 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-05-03 18:20:08 +0000 |
commit | 21f9d6ba5d5cdd06cd1d0e38de0c229e1b9bc6b1 (patch) | |
tree | 749c3cce15723e02b47cc9c6d088504dec127f17 | |
parent | 33a2eed7a8303b23b99bbf7ef024a4a55dbce635 (diff) | |
download | ports-21f9d6ba5d5cdd06cd1d0e38de0c229e1b9bc6b1.tar.gz ports-21f9d6ba5d5cdd06cd1d0e38de0c229e1b9bc6b1.zip |
security/palisade: Removbe -Werror to fix build on 15
Reported by: fallout
-rw-r--r-- | security/palisade/Makefile | 2 | ||||
-rw-r--r-- | security/palisade/files/patch-CMakeLists.txt | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/security/palisade/Makefile b/security/palisade/Makefile index b0feeb7aeb5b..32c8e2fb566f 100644 --- a/security/palisade/Makefile +++ b/security/palisade/Makefile @@ -25,7 +25,7 @@ GH_TUPLE= \ google:googletest:8b4817e3:google_test/third-party/google-test USE_LDCONFIG= yes -CMAKE_OFF= BUILD_UNITTESTS BUILD_EXAMPLES BUILD_BENCHMARKS WITH_WERROR +CMAKE_OFF= BUILD_UNITTESTS BUILD_EXAMPLES BUILD_BENCHMARKS CMAKE_OFF+= WITH_NTL # https://gitlab.com/palisade/palisade-development/-/issues/180 CMAKE_ARGS= -DWITH_NTL=Y # libntl.so will be discontinued in 1.11, see https://gitlab.com/palisade/palisade-development/-/issues/180 CMAKE_TESTING_ON= BUILD_UNITTESTS diff --git a/security/palisade/files/patch-CMakeLists.txt b/security/palisade/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..08da4d305d39 --- /dev/null +++ b/security/palisade/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +- remove -Werror to fix build errors on 15 + +--- CMakeLists.txt.orig 2024-05-03 18:15:41 UTC ++++ CMakeLists.txt +@@ -173,8 +173,8 @@ endif() + set (NATIVE_OPT "") + endif() + +-set(C_COMPILE_FLAGS "-Wall -Werror -O3 ${NATIVE_OPT} -DPALISADE_VERSION=${PALISADE_VERSION}") +-set(CXX_COMPILE_FLAGS "-Wall -Werror -O3 ${NATIVE_OPT} -DPALISADE_VERSION=${PALISADE_VERSION} ${IGNORE_WARNINGS}") ++set(C_COMPILE_FLAGS "-Wall ${NATIVE_OPT} -DPALISADE_VERSION=${PALISADE_VERSION}") ++set(CXX_COMPILE_FLAGS "-Wall ${NATIVE_OPT} -DPALISADE_VERSION=${PALISADE_VERSION} ${IGNORE_WARNINGS}") + + if ( EMSCRIPTEN ) + set(EMSCRIPTEN_IGNORE_WARNINGS "-Wno-unused-but-set-variable -Wno-unknown-warning-option") |