* [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpclient/, net-misc/ntpclient/files/
@ 2019-08-20 12:56 Joonas Niilola
0 siblings, 0 replies; only message in thread
From: Joonas Niilola @ 2019-08-20 12:56 UTC (permalink / raw
To: gentoo-commits
commit: 276d256dc07adc0bc09f40fad68ac46a75d62ac8
Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
AuthorDate: Mon Aug 19 18:18:36 2019 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 12:56:01 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276d256d
net-misc/ntpclient: fix compilation with >=linux-headers-5.2
Closes: https://bugs.gentoo.org/692544
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
Closes: https://github.com/gentoo/gentoo/pull/12748
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
| 10 +++++++
net-misc/ntpclient/ntpclient-2018.244-r1.ebuild | 35 ++++++++++++++++++++++
2 files changed, 45 insertions(+)
--git a/net-misc/ntpclient/files/ntpclient-2018.244-linux-headers-5.2.patch b/net-misc/ntpclient/files/ntpclient-2018.244-linux-headers-5.2.patch
new file mode 100644
index 00000000000..df87cb6ceb2
--- /dev/null
+++ b/net-misc/ntpclient/files/ntpclient-2018.244-linux-headers-5.2.patch
@@ -0,0 +1,10 @@
+--- a/src/ntpclient.c 2018-08-27 20:38:12.000000000 +0200
++++ b/src/ntpclient.c 2019-08-19 20:11:59.000000000 +0200
+@@ -40,6 +40,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #ifdef PRECISION_SIOCGSTAMP
++#include <linux/sockios.h>
+ #include <sys/ioctl.h>
+ #endif
+ #ifdef USE_OBSOLETE_GETTIMEOFDAY
diff --git a/net-misc/ntpclient/ntpclient-2018.244-r1.ebuild b/net-misc/ntpclient/ntpclient-2018.244-r1.ebuild
new file mode 100644
index 00000000000..a7655904140
--- /dev/null
+++ b/net-misc/ntpclient/ntpclient-2018.244-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV="${PV/./_}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="A NTP (RFC-1305 and RFC-4330) client for unix-alike systems"
+HOMEPAGE="https://github.com/troglobit/ntpclient"
+SRC_URI="https://github.com/troglobit/${PN}/releases/download/${MY_PV}/${MY_P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug embedded obsolete +syslog"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-linux-headers-5.2.patch"
+)
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable debug)
+ $(use_enable debug replay)
+ $(use_enable embedded mini)
+ $(use_enable obsolete)
+ $(use_enable !obsolete siocgstamp)
+ $(use_enable syslog)
+ )
+
+ econf "${myeconfargs[@]}"
+}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-20 12:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-20 12:56 [gentoo-commits] repo/gentoo:master commit in: net-misc/ntpclient/, net-misc/ntpclient/files/ Joonas Niilola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox