summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-11 11:40:48 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-14 11:48:46 +0100
commit12aa32c7e2447994753bc1fa15380ea21e53d3d7 (patch)
tree0dba50cdf7f046b711b8425829e06ba4824441ad
parente91ac346daa56f606e34da5a7a153bb55263f7dd (diff)
downloadpoky-12aa32c7e2447994753bc1fa15380ea21e53d3d7.tar.gz
libdnf: update 0.63.1 -> 0.64.0
Drop patch merged upstream. (From OE-Core rev: ea8562459425e54f5809ff00dba133ff7e30d2b5) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch34
-rw-r--r--meta/recipes-devtools/libdnf/libdnf_0.64.0.bb (renamed from meta/recipes-devtools/libdnf/libdnf_0.63.1.bb)3
2 files changed, 1 insertions, 36 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
deleted file mode 100644
index b740521fda..0000000000
--- a/meta/recipes-devtools/libdnf/libdnf/0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From fc0b81bb717db3f41513f09f6661676a7aea6dd4 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 9 Mar 2021 19:30:42 +0000
4Subject: [PATCH] libdnf/config.h: avoid the use of non-portable __WORDSIZE
5
6Upstream-Status: Submitted [https://github.com/rpm-software-management/libdnf/pull/1159]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8
9---
10 libdnf/config.h | 9 +++------
11 1 file changed, 3 insertions(+), 6 deletions(-)
12
13diff --git a/libdnf/config.h b/libdnf/config.h
14index 01b330b4..dbd53f5e 100644
15--- a/libdnf/config.h
16+++ b/libdnf/config.h
17@@ -20,14 +20,11 @@
18
19 #ifdef __APPLE__
20 #include <stdint.h>
21-#else
22-#include <bits/wordsize.h>
23 #endif
24+#include <limits.h>
25
26-#if __WORDSIZE == 32
27-#include "config-32.h"
28-#elif __WORDSIZE == 64
29+#if (ULONG_MAX == 0xffffffffffffffff)
30 #include "config-64.h"
31 #else
32-#error "Unknown word size"
33+#include "config-32.h"
34 #endif
diff --git a/meta/recipes-devtools/libdnf/libdnf_0.63.1.bb b/meta/recipes-devtools/libdnf/libdnf_0.64.0.bb
index a9f393e722..38d3307b11 100644
--- a/meta/recipes-devtools/libdnf/libdnf_0.63.1.bb
+++ b/meta/recipes-devtools/libdnf/libdnf_0.64.0.bb
@@ -11,12 +11,11 @@ SRC_URI = "git://github.com/rpm-software-management/libdnf;branch=dnf-4-master \
11 file://0001-Add-WITH_TESTS-option.patch \ 11 file://0001-Add-WITH_TESTS-option.patch \
12 file://0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch \ 12 file://0001-Look-fo-sphinx-only-if-documentation-is-actually-ena.patch \
13 file://enable_test_data_dir_set.patch \ 13 file://enable_test_data_dir_set.patch \
14 file://0001-libdnf-config.h-avoid-the-use-of-non-portable-__WORD.patch \
15 file://0001-drop-FindPythonInstDir.cmake.patch \ 14 file://0001-drop-FindPythonInstDir.cmake.patch \
16 file://0001-libdnf-dnf-context.cpp-do-not-try-to-access-BDB-data.patch \ 15 file://0001-libdnf-dnf-context.cpp-do-not-try-to-access-BDB-data.patch \
17 " 16 "
18 17
19SRCREV = "8e451380bf84bd76e3925cbae2a06bb0e56f5cd9" 18SRCREV = "e5ecbc1e5062631f44cb94a3b73d9310db0ff386"
20UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)" 19UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!4\.90)\d+(\.\d+)+)"
21 20
22S = "${WORKDIR}/git" 21S = "${WORKDIR}/git"