summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-03-21 16:01:47 +0100
committerDavid Seifert <soap@gentoo.org>2020-03-21 16:01:47 +0100
commitde1a3565737fd0225e6e7904567ffe2cf32fe8a6 (patch)
tree03133302c8b7aeed03b2f79fc384fef7a474520c /app-misc/dateutils/files
parentnet-p2p/ctorrent: Add missing <sys/types.h> include (diff)
downloadgentoo-de1a3565737fd0225e6e7904567ffe2cf32fe8a6.tar.gz
gentoo-de1a3565737fd0225e6e7904567ffe2cf32fe8a6.tar.bz2
gentoo-de1a3565737fd0225e6e7904567ffe2cf32fe8a6.zip
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@gentoo.org>
Diffstat (limited to 'app-misc/dateutils/files')
-rw-r--r--app-misc/dateutils/files/dateutils-0.4.6-unportable-sys-sysctl_h.patch10
1 files changed, 10 insertions, 0 deletions
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 <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>