From: Jeroen Roovers Date: Mon, 27 Jan 2020 11:21:55 +0000 (+0100) Subject: app-text/pinfo: Fix CFLAGS=-fno-common X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2094fa5063c2fc7e240de05a775c11eeeb266f5b;p=gentoo.git app-text/pinfo: Fix CFLAGS=-fno-common Package-Manager: Portage-2.3.85, Repoman-2.3.20 Closes: https://bugs.gentoo.org/706548 Signed-off-by: Jeroen Roovers --- diff --git a/app-text/pinfo/files/pinfo-0.6.13-fno-common.patch b/app-text/pinfo/files/pinfo-0.6.13-fno-common.patch new file mode 100644 index 000000000000..676cd4b09d37 --- /dev/null +++ b/app-text/pinfo/files/pinfo-0.6.13-fno-common.patch @@ -0,0 +1,11 @@ +--- a/src/parse_config.h ++++ b/src/parse_config.h +@@ -85,8 +85,6 @@ + colours; + #endif /* HAVE_CURSES_COLOR */ + +-int use_manual; +- + int parse_config (void); + int parse_line (char *line); + char *str_toupper (char *s); diff --git a/app-text/pinfo/pinfo-0.6.13.ebuild b/app-text/pinfo/pinfo-0.6.13.ebuild index 66c990a911d4..1edae9c02d3a 100644 --- a/app-text/pinfo/pinfo-0.6.13.ebuild +++ b/app-text/pinfo/pinfo-0.6.13.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch + "${FILESDIR}"/${PN}-0.6.13-fno-common.patch ) src_prepare() { diff --git a/app-text/pinfo/pinfo-99999.ebuild b/app-text/pinfo/pinfo-99999.ebuild index c6cc673a9633..697760bc7fca 100644 --- a/app-text/pinfo/pinfo-99999.ebuild +++ b/app-text/pinfo/pinfo-99999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -29,6 +29,7 @@ DEPEND=" PATCHES=( "${FILESDIR}"/${PN}-0.6.9-GROFF_NO_SGR.patch "${FILESDIR}"/${PN}-0.6.9-lzma-xz.patch + "${FILESDIR}"/${PN}-0.6.13-fno-common.patch ) src_prepare() {