Closes: https://bugs.gentoo.org/713752
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: David Seifert <soap@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
MY_P="${PN}-dnh${PV}"
KEYWORDS="amd64 arm ppc ~s390 ~sh ~sparc x86"
IUSE="libressl"
-S="${WORKDIR}/${MY_P}"
-
RDEPEND="
libressl? ( dev-libs/libressl:0= )
!libressl? ( dev-libs/openssl:0= )
"
DEPEND="${RDEPEND}"
+S="${WORKDIR}/${MY_P}"
+
PATCHES=(
"${FILESDIR}"/${PN}-CVE-2009-1759.patch
"${FILESDIR}"/${P}-negative-ints.patch
"${FILESDIR}"/${P}-empty-path-components.patch
+ "${FILESDIR}"/${P}-sys-types_h.patch
)
--- /dev/null
+--- a/compat.c
++++ b/compat.c
+@@ -8,6 +8,8 @@
+ #include <sys/param.h>
+ #endif
+
++#include <sys/types.h>
++
+ #include "compat.h"
+
+ #ifndef HAVE_CLOCK_GETTIME