From: Jeroen Roovers Date: Wed, 22 Apr 2020 08:24:27 +0000 (+0200) Subject: app-crypt/md6sum: Set CFLAGS+=-fcommon X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=931194767f5aeea434a4e2bb14f365e00307e6ae;p=gentoo.git 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 --- diff --git a/app-crypt/md6sum/md6sum-1.0-r2.ebuild b/app-crypt/md6sum/md6sum-1.0-r2.ebuild index 631b65b9a6e8..5859b5ca9af3 100644 --- a/app-crypt/md6sum/md6sum-1.0-r2.ebuild +++ b/app-crypt/md6sum/md6sum-1.0-r2.ebuild @@ -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 +}