+ 5.3.0.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.3.0.0 + 5.2.17.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.17.0 + 5.2.16.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.16.0 + 5.2.15.0 changelog: https://github.com/rpm-software-management/dnf5/releases/tag/5.2.15.0 - Backport fixes from upstream to fix builds for non-x86 arches + Patch: 0001-test_conf.cpp-make-comparing-size_type-cross-platfor.patch + Patch: 0002-python_plugins_loader-disable-sign-compare-check-err.patch - Backport fix for handling disabling gpg checks properly + Patch: 0003-Move-libdnf5-conf-config.h-creation-after-feature-de.patch - Run tests during package builds again OBS-URL: https://build.opensuse.org/package/show/system:packagemanager:dnf/dnf5?expand=0&rev=36
31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From 7e95b620a1a972788b3fb7f81802f696d2f3da2e Mon Sep 17 00:00:00 2001
|
||
From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= <amatej@redhat.com>
|
||
Date: Wed, 5 Nov 2025 07:59:00 +0100
|
||
Subject: [PATCH 2/2] python_plugins_loader: disable sign-compare check errors
|
||
|
||
---
|
||
libdnf5-plugins/python_plugins_loader/CMakeLists.txt | 7 +++++++
|
||
1 file changed, 7 insertions(+)
|
||
|
||
diff --git a/libdnf5-plugins/python_plugins_loader/CMakeLists.txt b/libdnf5-plugins/python_plugins_loader/CMakeLists.txt
|
||
index 5454a5d5..e316af7f 100644
|
||
--- a/libdnf5-plugins/python_plugins_loader/CMakeLists.txt
|
||
+++ b/libdnf5-plugins/python_plugins_loader/CMakeLists.txt
|
||
@@ -15,6 +15,13 @@ add_custom_target(swigpyrun-header
|
||
COMMENT "Generating SWIG Python runtime header"
|
||
)
|
||
|
||
+# The generated SWIG Python runtime header: swigpyrun.h contains a problematic section on
|
||
+# certain architectures (i686):
|
||
+# error: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’
|
||
+# 658 | for (cast = head; (cast - head) <= head->value; cast++) {
|
||
+# Since we don't control that code don't treat it as an error.
|
||
+add_compile_options(-Wno-error=sign-compare)
|
||
+
|
||
add_library(python_plugins_loader MODULE python_plugins_loader.cpp)
|
||
|
||
# python_plugins_loader requires swigpyrun.h so lets generate it
|
||
--
|
||
2.51.0
|
||
|