Add patch to fix printf on non-64 bit
This commit is contained in:
parent
c5f34044dc
commit
3118d31892
25
0001-adaptive-Fix-64bit-printing-on-non-64bit-machines.patch
Normal file
25
0001-adaptive-Fix-64bit-printing-on-non-64bit-machines.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 0710804c2c2747839231142c6be95485ed1707b7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Benjamin Berg <bberg@redhat.com>
|
||||||
|
Date: Tue, 25 Aug 2020 15:01:56 +0200
|
||||||
|
Subject: [PATCH] adaptive: Fix 64bit printing on non-64bit machines
|
||||||
|
|
||||||
|
---
|
||||||
|
src/thd_engine_adaptive.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/thd_engine_adaptive.cpp b/src/thd_engine_adaptive.cpp
|
||||||
|
index acae7d4..8d33153 100644
|
||||||
|
--- a/src/thd_engine_adaptive.cpp
|
||||||
|
+++ b/src/thd_engine_adaptive.cpp
|
||||||
|
@@ -183,7 +183,7 @@ void cthd_engine_adaptive::dump_apat()
|
||||||
|
thd_log_info("..apat dump begin.. \n");
|
||||||
|
for (unsigned int i = 0; i < targets.size(); ++i) {
|
||||||
|
thd_log_info(
|
||||||
|
- "target_id:%lu name:%s participant:%s domain:%d code:%s argument:%s\n",
|
||||||
|
+ "target_id:%" PRIu64 " name:%s participant:%s domain:%d code:%s argument:%s\n",
|
||||||
|
targets[i].target_id, targets[i].name.c_str(),
|
||||||
|
targets[i].participant.c_str(), (int)targets[i].domain,
|
||||||
|
targets[i].code.c_str(), targets[i].argument.c_str());
|
||||||
|
--
|
||||||
|
2.26.2
|
||||||
|
|
@ -35,6 +35,8 @@ Requires: dbus%{?_isa}
|
|||||||
Requires(pre): glibc-common
|
Requires(pre): glibc-common
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
|
|
||||||
|
Patch0: 0001-adaptive-Fix-64bit-printing-on-non-64bit-machines.patch
|
||||||
|
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -245,6 +247,7 @@ exit 0
|
|||||||
%changelog
|
%changelog
|
||||||
* Tue Aug 25 2020 Benjamin Berg <bberg@redhat.com> - 2.3-1
|
* Tue Aug 25 2020 Benjamin Berg <bberg@redhat.com> - 2.3-1
|
||||||
- New upstream release 2.3 (rhbz#1866784)
|
- New upstream release 2.3 (rhbz#1866784)
|
||||||
|
- Add patch to fix printf on non-64 bit
|
||||||
|
|
||||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user