On 23/08/27 03:42PM, Khem Raj wrote: > On Sun, Aug 27, 2023 at 3:12 PM Abe Kohandel <[email protected]> wrote: > > > Depending on the host gcc version, libdnf fails to compile due to > > missing cstdint inclusion. The issue has already been addressed > > upstream, add the patch to resolve this for older versions of the > > library. > > > > This commit is taken directly from the libdnf project at > > https://github.com/rpm-software-management/libdnf > > > > Signed-off-by: Abe Kohandel <[email protected]> > > --- > > ...58-Don-t-assume-inclusion-of-cstdint.patch | 56 +++++++++++++++++++ > > meta/recipes-devtools/libdnf/libdnf_0.66.0.bb | 1 + > > 2 files changed, 57 insertions(+) > > create mode 100644 > > meta/recipes-devtools/libdnf/libdnf/0001-Fix-1558-Don-t-assume-inclusion-of-cstdint.patch > > > > diff --git > > a/meta/recipes-devtools/libdnf/libdnf/0001-Fix-1558-Don-t-assume-inclusion-of-cstdint.patch > > b/meta/recipes-devtools/libdnf/libdnf/0001-Fix-1558-Don-t-assume-inclusion-of-cstdint.patch > > new file mode 100644 > > index 0000000000..51fa141f79 > > --- /dev/null > > +++ > > b/meta/recipes-devtools/libdnf/libdnf/0001-Fix-1558-Don-t-assume-inclusion-of-cstdint.patch > > @@ -0,0 +1,56 @@ > > +From 779ea105564b6d717300af2fcb02a399737a536f Mon Sep 17 00:00:00 2001 > > +From: ctxnop <[email protected]> > > +Date: Mon, 15 May 2023 19:30:16 +0200 > > +Subject: [PATCH] Fix #1558: Don't assume inclusion of cstdint > > + > > +With last versions of gcc, some headers don't include cstdint anymore, > > +but some sources assume that it is. > > + > > +Upstream-Status: Submitted [ > > https://github.com/rpm-software-management/libdnf/pull/1602] > > > This pull is already merged at this time so status should be marked > Backport >
My apologies, this is my first submission to this project, v2 submitted at https://lists.openembedded.org/g/openembedded-core/message/186810 Thanks, Abe
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#186811): https://lists.openembedded.org/g/openembedded-core/message/186811 Mute This Topic: https://lists.openembedded.org/mt/100999045/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
