From a37c17fdb02fc7db11ca318103220a38d9e908e4 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Wed, 30 Mar 2016 16:25:47 +0200 Subject: [PATCH] openntpd: drop res_init patch --- srcpkgs/openntpd/patches/resinit.patch | 23 ----------------------- srcpkgs/openntpd/template | 2 +- 2 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 srcpkgs/openntpd/patches/resinit.patch diff --git a/srcpkgs/openntpd/patches/resinit.patch b/srcpkgs/openntpd/patches/resinit.patch deleted file mode 100644 index 6215d102443..00000000000 --- a/srcpkgs/openntpd/patches/resinit.patch +++ /dev/null @@ -1,23 +0,0 @@ -Reset transient resolver failures in glibc -https://github.com/openntpd-portable/openntpd-portable/issues/12 - ---- src/config.c.orig 2016-03-28 15:51:51.000000000 +0200 -+++ src/config.c 2016-03-30 16:03:00.816787846 +0200 -@@ -23,6 +23,7 @@ - #include - - #include -+#include - #include - #include - #include -@@ -132,6 +133,9 @@ - struct sockaddr_in6 *sa_in6; - struct ntp_addr *h, *hh = NULL; - -+#ifdef __GLIBC__ -+ res_init(); -+#endif - memset(&hints, 0, sizeof(hints)); - hints.ai_family = PF_UNSPEC; - hints.ai_socktype = SOCK_DGRAM; /* DUMMY */ diff --git a/srcpkgs/openntpd/template b/srcpkgs/openntpd/template index aee024732c3..dc1cf14886b 100644 --- a/srcpkgs/openntpd/template +++ b/srcpkgs/openntpd/template @@ -1,7 +1,7 @@ # Template file for 'openntpd' pkgname=openntpd version=5.9p1 -revision=1 +revision=2 build_style=gnu-configure configure_args="--with-privsep-user=$pkgname --with-cacert=/etc/ssl/certs.pem" hostmakedepends="automake libtool"