This code is particularly evil in that it expressly omits a declaration
of the compression_hook function and apparently fully intended to rely
on the -fcommon mechanism to toggle debugging functions. See md6.h for
the rationale.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Closes: https://bugs.gentoo.org/706780
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
+inherit flag-o-matic
DESCRIPTION="A C implementation of MD6"
HOMEPAGE="https://groups.csail.mit.edu/cis/md6"
"${FILESDIR}/${P}-cflags.patch"
"${FILESDIR}/${P}-format-security.patch"
)
+
+src_configure() {
+ append-cflags -fcommon # bug #706780
+ default
+}