From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.lab.pengutronix.de) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iqcj1-0004TP-1L for ptxdist@pengutronix.de; Sun, 12 Jan 2020 13:52:15 +0100 Received: from mol by dude02.lab.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1iqcj0-0003ZF-QW for ptxdist@pengutronix.de; Sun, 12 Jan 2020 13:52:14 +0100 Date: Sun, 12 Jan 2020 13:52:14 +0100 From: Michael Olbrich Message-ID: <20200112125214.GB3293@pengutronix.de> References: <20191210185536.23309-1-guille.rodriguez@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191210185536.23309-1-guille.rodriguez@gmail.com> Subject: Re: [ptxdist] [PATCH] udev-legacy: Fix build with recent glibc versions. List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de On Tue, Dec 10, 2019 at 07:55:36PM +0100, Guillermo Rodr=EDguez wrote: > Signed-off-by: Guillermo Rodriguez > --- > .../0003-include-sysmacros-for-new-glibc.patch | 17 +++++++++++++++++ > patches/udev-182/series | 1 + > 2 files changed, 18 insertions(+) > create mode 100644 patches/udev-182/0003-include-sysmacros-for-new-glibc= .patch > = > diff --git a/patches/udev-182/0003-include-sysmacros-for-new-glibc.patch = b/patches/udev-182/0003-include-sysmacros-for-new-glibc.patch > new file mode 100644 > index 000000000..b2f8db670 > --- /dev/null > +++ b/patches/udev-182/0003-include-sysmacros-for-new-glibc.patch > @@ -0,0 +1,17 @@ > +Fix build with recent glibc releases where is no > +longer included as part of . > + > +Ref.: https://wiki.gentoo.org/wiki/Glibc_2.26_porting_notes/sysmacros.h > + > +Index: udev-182/src/libudev.h > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Please provide a proper patch header. Just recreating the patches with git[1] should work. > +--- udev-182.orig/src/libudev.h 2019-12-10 19:33:16.205447059 +0100 > ++++ udev-182/src/libudev.h 2019-12-10 19:33:27.965446957 +0100 > +@@ -14,6 +14,7 @@ > + = > + #include > + #include > ++#include > + #include > + = > + #ifdef __cplusplus > diff --git a/patches/udev-182/series b/patches/udev-182/series > index 74667acee..fe0693eb5 100644 > --- a/patches/udev-182/series > +++ b/patches/udev-182/series > @@ -3,3 +3,4 @@ > 0001-configure.ac-fix-FTBFS-with-new-glibc.patch > 0002-mtd-probe-fix-compilation.patch > # 78be5e697ec01d52a38071705c42d96a - git-ptx-patches magic > +0003-include-sysmacros-for-new-glibc.patch This will recalculate the checksum here as well. Michael [1] https://www.ptxdist.org/doc/dev_manual.html#using-git > -- = > 2.21.0 > = > = > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > = -- = Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de