Files
guru/app-editors/imhex/files/remove_Werror.patch
Henri Gasc d8c0bb87ef app-editors/imhex: add 1.38.1, drop 1.37.4-r4
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
2026-01-10 17:23:24 +01:00

34 lines
1.8 KiB
Diff

--- a/lib/external/pattern_language/cli/CMakeLists.txt
+++ b/lib/external/pattern_language/cli/CMakeLists.txt
@@ -32,7 +32,7 @@ else()
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
- target_compile_options(plcli PRIVATE -Wall -Wextra -Werror -Wno-unknown-pragmas -Wno-array-bounds)
+ target_compile_options(plcli PRIVATE -Wall -Wextra -Wno-unknown-pragmas -Wno-array-bounds)
endif()
target_include_directories(plcli PUBLIC include ${CLI11_INCLUDE_DIRS})
target_link_libraries(plcli PRIVATE ${CLI11_LIBRARIES} ${NLOHMANN_JSON_LIBRARIES} libwolv libpl_includes libpl-gen ${FMT_LIBRARIES})
--- a/lib/external/pattern_language/lib/CMakeLists.txt
+++ b/lib/external/pattern_language/lib/CMakeLists.txt
@@ -91,7 +91,7 @@ endif ()
if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
target_compile_options(libpl PRIVATE /EHsc)
elseif (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
- target_compile_options(libpl PRIVATE -Wall -Wextra -Werror -Wpedantic -Wno-unknown-pragmas -Wno-array-bounds)
+ target_compile_options(libpl PRIVATE -Wall -Wextra -Wpedantic -Wno-unknown-pragmas -Wno-array-bounds)
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
target_compile_options(libpl PRIVATE -Wno-stringop-overflow)
endif()
--- a/lib/external/disassembler/lib/CMakeLists.txt
+++ b/lib/external/disassembler/lib/CMakeLists.txt
@@ -14,5 +14,5 @@ target_include_directories(libdisassembler PUBLIC include)
target_link_libraries(libdisassembler PRIVATE wolv::types wolv::utils wolv::io wolv::math_eval ${NLOHMANN_JSON_LIBRARIES} ${FMT_LIBRARIES})
if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
- target_compile_options(libdisassembler PRIVATE -Wall -Wextra -Wpedantic -Werror)
-endif()
\ No newline at end of file
+ target_compile_options(libdisassembler PRIVATE -Wall -Wextra -Wpedantic)
+endif()