app-text/pinfo: Fix CFLAGS=-fno-common
authorJeroen Roovers <jer@gentoo.org>
Mon, 27 Jan 2020 11:21:55 +0000 (12:21 +0100)
committerJeroen Roovers <jer@gentoo.org>
Mon, 27 Jan 2020 11:31:03 +0000 (12:31 +0100)
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Closes: https://bugs.gentoo.org/706548
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
app-text/pinfo/files/pinfo-0.6.13-fno-common.patch [new file with mode: 0644]
app-text/pinfo/pinfo-0.6.13.ebuild
app-text/pinfo/pinfo-99999.ebuild

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 (file)
index 0000000..676cd4b
--- /dev/null
@@ -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);
index 66c990a911d4cfc1cc5aedd126908d4821a227f3..1edae9c02d3a00367160936d0280053cbf6bf178 100644 (file)
@@ -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() {
index c6cc673a9633d4057cfa453a6c42db265159d092..697760bc7fca79cdf9b4ff391c29545e9a47f842 100644 (file)
@@ -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() {