app-crypt/md6sum: Set CFLAGS+=-fcommon

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>
This commit is contained in:
Jeroen Roovers
2020-04-22 10:24:27 +02:00
parent 8de7018c43
commit 931194767f

View File

@@ -1,7 +1,8 @@
# 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"
@@ -16,3 +17,8 @@ PATCHES=(
"${FILESDIR}/${P}-cflags.patch"
"${FILESDIR}/${P}-format-security.patch"
)
src_configure() {
append-cflags -fcommon # bug #706780
default
}