On Mon, Apr 17, 2017 at 12:17 AM, Sérgio Basto <ser...@serjux.com> wrote:
> Hello > > These packages are the remain packages that not build in F26 mass- > rebuild > > > openmw-0.41.0-2.fc26 > pdflib-lite-7.0.5-10.fc26 (rfbz #3891) > simplescreenrecorder-0.3.8-2.fc26 > stella-4.7.3-2.fc26 > This is a patch to build stella again. It also sets new upstream URL and Source0. Bye, Andrea
From adf41ead6c10d7c247aa7f1196bf4668e06ee59b Mon Sep 17 00:00:00 2001 From: Andrea Musuruane <musur...@gmail.com> Date: Mon, 17 Apr 2017 11:33:38 +0200 Subject: [PATCH] Fix FTBFS with gcc7 Updated URL and Source0 --- stella-4.7.3-gcc7.patch | 12 ++++++++++++ stella.spec | 12 +++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 stella-4.7.3-gcc7.patch diff --git a/stella-4.7.3-gcc7.patch b/stella-4.7.3-gcc7.patch new file mode 100644 index 0000000..7f6f795 --- /dev/null +++ b/stella-4.7.3-gcc7.patch @@ -0,0 +1,12 @@ +diff -durN stella-4.7.3.orig/configure stella-4.7.3/configure +--- stella-4.7.3.orig/configure 2016-10-10 19:43:31.000000000 +0200 ++++ stella-4.7.3/configure 2017-04-17 11:12:59.158157722 +0200 +@@ -420,7 +420,7 @@ + fi + + case $cxx_version in +- 4.[7-9]|4.[7-9].[0-9]|4.[7-9].[0-9][-.]*|[5-6].[0-9]|[5-6].[0-9].[0-9]|[5-6].[0-9].[0-9][-.]*) ++ 4.[7-9]|4.[7-9].[0-9]|4.[7-9].[0-9][-.]*|[5-7]|[5-7].[0-9]|[5-7].[0-9].[0-9]|[5-7].[0-9].[0-9][-.]*) + _cxx_major=`echo $cxx_version | cut -d '.' -f 1` + _cxx_minor=`echo $cxx_version | cut -d '.' -f 2` + cxx_version="$cxx_version, ok" diff --git a/stella.spec b/stella.spec index 2d88d85..4c7d170 100644 --- a/stella.spec +++ b/stella.spec @@ -1,11 +1,12 @@ Name: stella Version: 4.7.3 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Summary: A multi-platform Atari 2600 Video Computer System emulator Group: Applications/Emulators -URL: http://stella.sourceforge.net -Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.xz +URL: https://stella-emu.github.io/ +Source0: https://github.com/stella-emu/%{name}/releases/download/release-%{version}/%{name}-%{version}-src.tar.xz +Patch0: %{name}-4.7.3-gcc7.patch BuildRequires: libpng-devel zlib-devel bison SDL2-devel BuildRequires: desktop-file-utils @@ -29,6 +30,7 @@ by considering a contribution. %prep %setup -q +%patch0 -p1 rm src/zlib src/libpng -rf sed -i "s/-c -s -m/-m/" Makefile @@ -76,6 +78,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Mon Apr 17 2017 Andrea Musuruane <musur...@gmail.com> - 4.7.3-3 +- Fix FTBFS with gcc7 +- Updated URL and Source0 + * Mon Mar 20 2017 RPM Fusion Release Engineering <kwiz...@rpmfusion.org> - 4.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild -- 2.9.3
_______________________________________________ rpmfusion-developers mailing list -- rpmfusion-developers@lists.rpmfusion.org To unsubscribe send an email to rpmfusion-developers-le...@lists.rpmfusion.org