summaryrefslogtreecommitdiff
path: root/editors/imhex
diff options
context:
space:
mode:
authorMANTANI Nobutaka <nobutaka@FreeBSD.org>2023-02-13 23:09:20 +0900
committerMANTANI Nobutaka <nobutaka@FreeBSD.org>2023-02-13 23:11:31 +0900
commit95272789b51573f573fbe61fc34da46d295f0e3b (patch)
tree5a4b5c4b4a53abfd340c434b9ac6633b9b7fc88a /editors/imhex
parentdevel/binaryen: Adopt/Update to 112 (diff)
editors/imhex: Fix build with llvm15
Diffstat (limited to 'editors/imhex')
-rw-r--r--editors/imhex/files/patch-lib_external_pattern__language_lib_CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
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)