Hello community, here is the log from the commit of package freeorion for openSUSE:Factory checked in at 2018-02-17 09:15:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freeorion (Old) and /work/SRC/openSUSE:Factory/.freeorion.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freeorion" Sat Feb 17 09:15:47 2018 rev:3 rq:577260 version:0.4.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/freeorion/freeorion.changes 2017-10-21 20:22:11.981809434 +0200 +++ /work/SRC/openSUSE:Factory/.freeorion.new/freeorion.changes 2018-02-17 09:15:52.554580400 +0100 @@ -1,0 +2,7 @@ +Fri Feb 16 11:57:14 UTC 2018 - [email protected] + +- Add freeorion-boost-1.66.patch: Replace use of + Boost::system::posix_error, which has been deprecated since boost + 1.37. Fixes build with Boost 1.66. + +------------------------------------------------------------------- New: ---- freeorion-boost-1.66.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freeorion.spec ++++++ --- /var/tmp/diff_new_pack.cwUKF6/_old 2018-02-17 09:15:58.182377738 +0100 +++ /var/tmp/diff_new_pack.cwUKF6/_new 2018-02-17 09:15:58.186377595 +0100 @@ -1,7 +1,7 @@ # # spec file for package freeorion # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Source: FreeOrion_v0.4.7.1_2017-09-03.139ffd9_Source.tar.gz # PATCH-FIX-UPSTREAM https://github.com/freeorion/freeorion/pull/1657 Patch0: appdata.patch +# PATCH-FIX-UPSTREAM freeorion-boost-1.66.patch [email protected] -- Replace use of Boost::system::posix_error +Patch1: freeorion-boost-1.66.patch BuildRequires: cmake >= 2.8.5 BuildRequires: fdupes @@ -90,6 +92,7 @@ %prep %setup -q -n src-tarball %patch0 -p1 +%patch1 -p1 %build mkdir build ++++++ freeorion-boost-1.66.patch ++++++ >From c9b5b13fb81b1ed142dee0e843101c6b8832ca95 Mon Sep 17 00:00:00 2001 From: D Benage <[email protected]> Date: Wed, 13 Dec 2017 18:53:55 -0600 Subject: [PATCH] Replace use of boost::system::posix_error First deprecated in boost v1.37 --- GG/src/dialogs/FileDlg.cpp | 2 +- UI/ClientUI.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GG/src/dialogs/FileDlg.cpp b/GG/src/dialogs/FileDlg.cpp index 9032aee584..17b9232333 100644 --- a/GG/src/dialogs/FileDlg.cpp +++ b/GG/src/dialogs/FileDlg.cpp @@ -746,7 +746,7 @@ void FileDlg::OpenDirectory() try { SetWorkingDirectory(fs::path(directory + "\\")); } catch (const fs::filesystem_error& e) { - if (e.code() == boost::system::posix_error::io_error) { + if (e.code() == boost::system::errc::io_error) { m_in_win32_drive_selection = true; m_files_edit->Clear(); FilesEditChanged(m_files_edit->Text()); diff --git a/UI/ClientUI.cpp b/UI/ClientUI.cpp index f294e91169..f9709ad4e9 100644 --- a/UI/ClientUI.cpp +++ b/UI/ClientUI.cpp @@ -1136,7 +1136,7 @@ ClientUI::TexturesAndDist ClientUI::PrefixedTexturesAndDist(const boost::filesys textures.push_back(ClientUI::GetTexture(*it, mipmap)); } catch (const fs::filesystem_error& e) { // ignore files for which permission is denied, and rethrow other exceptions - if (e.code() != boost::system::posix_error::permission_denied) + if (e.code() != boost::system::errc::permission_denied) throw; } }
