+ 5.2.7.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.7.0 + 5.2.6.2 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.6.2 + 5.2.6.1 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.6.1 + 5.2.6.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.6.0 + 5.2.5.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.5.0 + 5.2.4.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.4.0 - Refresh patches + Patch: dnf5-disable-Werror.patch + Patch: dnf5-with-static-libsolvext.patch OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/dnf5?expand=0&rev=24
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From 80507f3683d33d8ae62bf6c9d9b293a9916691a7 Mon Sep 17 00:00:00 2001
|
|
From: Neal Gompa <neal@gompa.dev>
|
|
Date: Tue, 12 Sep 2023 18:25:34 -0400
|
|
Subject: [PATCH] cmake: Drop Werror from compile options
|
|
|
|
This fixes the build for the library bindings and tests.
|
|
|
|
References:
|
|
* https://github.com/rpm-software-management/dnf5/issues/746
|
|
* https://github.com/rpm-software-management/dnf5/issues/562
|
|
---
|
|
CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index b031aea8..bad35c26 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -83,7 +83,7 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN ON)
|
|
add_compile_options("-fmacro-prefix-map=${PROJECT_SOURCE_DIR}/=")
|
|
|
|
# warnings
|
|
-add_compile_options(-Wall -Wextra -Werror)
|
|
+add_compile_options(-Wall -Wextra)
|
|
add_compile_options(-Wcast-align -Wformat-nonliteral -Wmissing-format-attribute -Wredundant-decls -Wsign-compare -Wsign-conversion -Wtype-limits -Wuninitialized -Wwrite-strings)
|
|
add_compile_options(-Werror=unused-result -Wodr)
|
|
|
|
--
|
|
2.47.0
|
|
|