summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/libdnf/libdnf
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-05-05 17:18:03 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-09 23:30:15 +0100
commitd112d5bee6300b069d8da8b22f4b091bee57c641 (patch)
tree97bf98b0b4e44eb3d2bf4c874adabc0ac353cd2b /meta/recipes-devtools/libdnf/libdnf
parent9f137c86a8e9b961cbc5b9093da3fa21aac53217 (diff)
downloadpoky-d112d5bee6300b069d8da8b22f4b091bee57c641.tar.gz
libdnf: upgrade 0.58.0 -> 0.62.0
(From OE-Core rev: 87f9e745998be322cf13952f8d914139185b9d8c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/libdnf/libdnf')
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch17
1 files changed, 10 insertions, 7 deletions
diff --git a/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch b/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch
index f8d256e011..b740521fda 100644
--- a/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch
+++ b/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch
@@ -1,23 +1,26 @@
1From 8aa5402393fabaf4fff51be3af4868e8dfab6da7 Mon Sep 17 00:00:00 2001 1From fc0b81bb717db3f41513f09f6661676a7aea6dd4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 9 Mar 2021 19:30:42 +0000 3Date: Tue, 9 Mar 2021 19:30:42 +0000
4Subject: [PATCH] libdnf/config.h: avoid the use of non-portable __WORDSIZE 4Subject: [PATCH] libdnf/config.h: avoid the use of non-portable __WORDSIZE
5 5
6Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/1159] 6Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/1159]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
8--- 9---
9 libdnf/config.h | 8 +++----- 10 libdnf/config.h | 9 +++------
10 1 file changed, 3 insertions(+), 5 deletions(-) 11 1 file changed, 3 insertions(+), 6 deletions(-)
11 12
12diff --git a/libdnf/config.h b/libdnf/config.h 13diff --git a/libdnf/config.h b/libdnf/config.h
13index 16121f6f..2925923e 100644 14index 01b330b4..dbd53f5e 100644
14--- a/libdnf/config.h 15--- a/libdnf/config.h
15+++ b/libdnf/config.h 16+++ b/libdnf/config.h
16@@ -18,12 +18,10 @@ 17@@ -20,14 +20,11 @@
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19 18
19 #ifdef __APPLE__
20 #include <stdint.h>
21-#else
20-#include <bits/wordsize.h> 22-#include <bits/wordsize.h>
23 #endif
21+#include <limits.h> 24+#include <limits.h>
22 25
23-#if __WORDSIZE == 32 26-#if __WORDSIZE == 32