Hello community, here is the log from the commit of package libretro-81 for openSUSE:Factory checked in at 2020-06-07 21:39:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libretro-81 (Old) and /work/SRC/openSUSE:Factory/.libretro-81.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libretro-81" Sun Jun 7 21:39:01 2020 rev:2 rq:812200 version:0~git20190918 Changes: -------- --- /work/SRC/openSUSE:Factory/libretro-81/libretro-81.changes 2020-02-11 22:22:29.639471872 +0100 +++ /work/SRC/openSUSE:Factory/.libretro-81.new.3606/libretro-81.changes 2020-06-07 21:39:08.365606269 +0200 @@ -1,0 +2,5 @@ +Sun Jun 7 09:39:45 UTC 2020 - Yunhe Guo <[email protected]> + +- Add fix-multiple-definition-error.patch to fix Tumbleweed build + +------------------------------------------------------------------- New: ---- fix-multiple-definition-error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libretro-81.spec ++++++ --- /var/tmp/diff_new_pack.mDjPwi/_old 2020-06-07 21:39:08.845607790 +0200 +++ /var/tmp/diff_new_pack.mDjPwi/_new 2020-06-07 21:39:08.845607790 +0200 @@ -1,7 +1,7 @@ # # spec file for package libretro-81 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,10 +20,11 @@ Version: 0~git20190918 Release: 0 Summary: 81 libretro core for ZX81 emulation -License: GPL-3.0 +License: GPL-3.0-only Group: System/Emulators/Other URL: http://www.retroarch.com Source: %{name}-%{version}.tar.xz +Patch0: fix-multiple-definition-error.patch BuildRequires: gcc-c++ BuildRequires: make @@ -33,6 +34,7 @@ %prep %setup -q +%patch0 -p1 %build make ++++++ fix-multiple-definition-error.patch ++++++ >From d1f9f60f6cb55e4fb8117653af607635f4b929b2 Mon Sep 17 00:00:00 2001 From: Guo Yunhe <[email protected]> Date: Sun, 7 Jun 2020 12:32:40 +0300 Subject: [PATCH] Fix multiple definition error when -fno-common --- src/coreopt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreopt.c b/src/coreopt.c index 84696cd..1dc2828 100644 --- a/src/coreopt.c +++ b/src/coreopt.c @@ -7,7 +7,7 @@ #include <gamedb/db.inl> -retro_log_printf_t log_cb; +extern retro_log_printf_t log_cb; static int getindex( const char* options, const char* value ) {
