public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-misc/dateutils/files/, app-misc/dateutils/
@ 2020-03-21 15:02 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2020-03-21 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     de1a3565737fd0225e6e7904567ffe2cf32fe8a6
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 21 15:01:47 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Mar 21 15:01:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de1a3565

app-misc/dateutils: Remove glibc-specific <sys/sysctl.h> include

Closes: https://bugs.gentoo.org/713182
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-misc/dateutils/dateutils-0.4.6.ebuild                      |  2 ++
 .../files/dateutils-0.4.6-unportable-sys-sysctl_h.patch        | 10 ++++++++++
 2 files changed, 12 insertions(+)

diff --git a/app-misc/dateutils/dateutils-0.4.6.ebuild b/app-misc/dateutils/dateutils-0.4.6.ebuild
index 0c4b76cb20e..7b12131bfec 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 00000000000..dc310ea7812
--- /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 <sys/wait.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+-#include <sys/sysctl.h>
+ #include <time.h>
+ #if defined WITH_SCMVER
+ # include <yuck-scmver.h>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-03-21 15:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-21 15:02 [gentoo-commits] repo/gentoo:master commit in: app-misc/dateutils/files/, app-misc/dateutils/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox