From: David Seifert Date: Sat, 21 Mar 2020 15:01:47 +0000 (+0100) Subject: app-misc/dateutils: Remove glibc-specific include X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=de1a3565737fd0225e6e7904567ffe2cf32fe8a6;p=gentoo.git app-misc/dateutils: Remove glibc-specific include Closes: https://bugs.gentoo.org/713182 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert --- diff --git a/app-misc/dateutils/dateutils-0.4.6.ebuild b/app-misc/dateutils/dateutils-0.4.6.ebuild index 0c4b76cb20e9..7b12131bfecd 100644 --- a/app-misc/dateutils/dateutils-0.4.6.ebuild +++ b/app-misc/dateutils/dateutils-0.4.6.ebuild @@ -17,6 +17,8 @@ DEPEND="app-arch/xz-utils # bug 429810 RDEPEND="!sys-fabric/dapl" +PATCHES=( "${FILESDIR}"/${P}-unportable-sys-sysctl_h.patch ) + src_compile() { emake CFLAGS="${CFLAGS}" } diff --git a/app-misc/dateutils/files/dateutils-0.4.6-unportable-sys-sysctl_h.patch b/app-misc/dateutils/files/dateutils-0.4.6-unportable-sys-sysctl_h.patch new file mode 100644 index 000000000000..dc310ea7812c --- /dev/null +++ b/app-misc/dateutils/files/dateutils-0.4.6-unportable-sys-sysctl_h.patch @@ -0,0 +1,10 @@ +--- a/build-aux/yuck.c ++++ b/build-aux/yuck.c +@@ -65,7 +65,6 @@ + #include + #include + #include +-#include + #include + #if defined WITH_SCMVER + # include