git: 95272789b515 - main - editors/imhex: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Feb 2023 14:12:58 UTC
The branch main has been updated by nobutaka: URL: https://cgit.FreeBSD.org/ports/commit/?id=95272789b51573f573fbe61fc34da46d295f0e3b commit 95272789b51573f573fbe61fc34da46d295f0e3b Author: MANTANI Nobutaka <nobutaka@FreeBSD.org> AuthorDate: 2023-02-13 14:09:20 +0000 Commit: MANTANI Nobutaka <nobutaka@FreeBSD.org> CommitDate: 2023-02-13 14:11:31 +0000 editors/imhex: Fix build with llvm15 --- .../patch-lib_external_pattern__language_lib_CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/editors/imhex/files/patch-lib_external_pattern__language_lib_CMakeLists.txt b/editors/imhex/files/patch-lib_external_pattern__language_lib_CMakeLists.txt new file mode 100644 index 000000000000..a02d6868d77d --- /dev/null +++ b/editors/imhex/files/patch-lib_external_pattern__language_lib_CMakeLists.txt @@ -0,0 +1,11 @@ +--- lib/external/pattern_language/lib/CMakeLists.txt.orig 2023-02-12 13:35:48 UTC ++++ lib/external/pattern_language/lib/CMakeLists.txt +@@ -34,7 +34,7 @@ add_library(libpl ${LIBRARY_TYPE} + source/pl/lib/std/hash.cpp + ) + +-target_compile_options(libpl PRIVATE -Wall -Wextra -Werror -Wpedantic -Wno-unknown-pragmas) ++target_compile_options(libpl PRIVATE -Wall -Wextra -Werror -Wpedantic -Wno-unknown-pragmas -Wno-error=deprecated-declarations) + + target_include_directories(libpl PUBLIC include) + target_link_libraries(libpl PRIVATE fmt::fmt-header-only)