@@ -, +, @@ --- net-misc/ntp/files/ntp-4.2.8-gc-tests.patch | 41 +++++++++++++++++++++ net-misc/ntp/ntp-4.2.8_p13-r2.ebuild | 1 + 2 files changed, 42 insertions(+) create mode 100644 net-misc/ntp/files/ntp-4.2.8-gc-tests.patch --- a/net-misc/ntp/files/ntp-4.2.8-gc-tests.patch +++ a/net-misc/ntp/files/ntp-4.2.8-gc-tests.patch @@ -0,0 +1,41 @@ +Avoid building problematic tests on platforms +whose linker does not support --gc-sections. + +https://bugs.ntp.org/show_bug.cgi?id=3601 +https://bugs.gentoo.org/564018 + +--- a/sntp/m4/ntp_problemtests.m4 2019-09-23 07:19:18.545861137 +0200 @@ -47,6 +47,7 @@ PATCHES=( "${FILESDIR}"/${PN}-4.2.8-sntp-test-pthreads.patch #563922 "${FILESDIR}"/${PN}-4.2.8_p10-fix-build-wo-ssl-or-libressl.patch "${FILESDIR}"/${PN}-4.2.8_p12-libressl-2.8.patch + "${FILESDIR}"/${PN}-4.2.8-gc-tests.patch #564018 ) src_prepare() { --