diff options
Diffstat (limited to 'media-sound/rcenter')
-rw-r--r-- | media-sound/rcenter/files/rcenter-0.6.2-fno-common.patch | 29 | ||||
-rw-r--r-- | media-sound/rcenter/rcenter-0.6.2.ebuild | 3 |
2 files changed, 31 insertions, 1 deletions
diff --git a/media-sound/rcenter/files/rcenter-0.6.2-fno-common.patch b/media-sound/rcenter/files/rcenter-0.6.2-fno-common.patch new file mode 100644 index 000000000000..11f3efdd38b5 --- /dev/null +++ b/media-sound/rcenter/files/rcenter-0.6.2-fno-common.patch @@ -0,0 +1,29 @@ +--- a/button.h ++++ b/button.h +@@ -60,8 +60,8 @@ + button_max = 34 + }; + +-char *button_name[button_max]; +-int button_code[button_max]; ++extern char *button_name[button_max]; ++extern int button_code[button_max]; + + unsigned int speaker_code(unsigned int code); + +--- a/main.h ++++ b/main.h +@@ -18,9 +18,9 @@ + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +-char *midi_device; ++extern char *midi_device; + +-int delay_sec; +-int delay_usec; ++extern int delay_sec; ++extern int delay_usec; + +-int string_digit_limit; ++extern int string_digit_limit; diff --git a/media-sound/rcenter/rcenter-0.6.2.ebuild b/media-sound/rcenter/rcenter-0.6.2.ebuild index 295c65fb14a2..a32acc38076b 100644 --- a/media-sound/rcenter/rcenter-0.6.2.ebuild +++ b/media-sound/rcenter/rcenter-0.6.2.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 @@ -17,6 +17,7 @@ KEYWORDS="amd64 -sparc x86" PATCHES=( "${FILESDIR}"/${P}-makefile.patch "${FILESDIR}"/${P}-Wimplicit-function-declaration.patch + "${FILESDIR}"/${P}-fno-common.patch ) src_configure() { |