Hello community,

here is the log from the commit of package fb-util-for-appx for 
openSUSE:Factory checked in at 2020-06-11 10:10:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fb-util-for-appx (Old)
 and      /work/SRC/openSUSE:Factory/.fb-util-for-appx.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fb-util-for-appx"

Thu Jun 11 10:10:05 2020 rev:2 rq:813297 version:0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/fb-util-for-appx/fb-util-for-appx.changes        
2020-01-14 21:11:44.882886870 +0100
+++ 
/work/SRC/openSUSE:Factory/.fb-util-for-appx.new.3606/fb-util-for-appx.changes  
    2020-06-11 10:12:04.520581441 +0200
@@ -1,0 +2,7 @@
+Wed Jun 10 17:18:15 UTC 2020 - Jeff Kowalczyk <[email protected]>
+
+- Add patch to insert C++ include stdexcept needed with gcc10
+  fix-gcc10-include-stdexcept.patch
+  Fixes boo#1172654
+
+-------------------------------------------------------------------

New:
----
  fix-gcc10-include-stdexcept.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fb-util-for-appx.spec ++++++
--- /var/tmp/diff_new_pack.LpjwPN/_old  2020-06-11 10:12:08.888595419 +0200
+++ /var/tmp/diff_new_pack.LpjwPN/_new  2020-06-11 10:12:08.892595432 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package fb-util-for-appx
 #
-# Copyright (c) 2017 SUSE LINUX Products 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
@@ -12,21 +12,23 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 Name:           fb-util-for-appx
 Version:        0.1
 Release:        0
-License:        BSD-3-Clause
 Summary:        Tool creating APPX packages
-Url:            https://github.com/facebook/%{name}
+License:        BSD-3-Clause
 Group:          Development/Libraries/Other
+URL:            https://github.com/facebook/%{name}
 Source:         
https://github.com/facebook/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         fix-gcc10-include-stdexcept.patch
 BuildRequires:  cmake >= 3.0
+BuildRequires:  gcc-c++
 BuildRequires:  libopenssl-devel
 BuildRequires:  zlib-devel
-BuildRequires:  gcc-c++
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -35,6 +37,9 @@
 %prep
 %setup -q
 
+# PATCH-FIX-UPSTREAM fix-gcc10-include-stdexcept.patch boo#1172654
+%patch0 -p1
+
 %build
 %cmake
 %make_jobs

++++++ fix-gcc10-include-stdexcept.patch ++++++
From: Jeff Kowalczyk <[email protected]>
Date: Wed, 10 Jun 2020 10:00:20 -0700
Subject: [PATCH] Add File.h #include <stdexcept> to compile with gcc10
References: boo#1172654
Upstream: dead

Add #include <stdexcept> to PrivateHeaders/APPX/File.h to fix
compilation errors with gcc10.

---
 PrivateHeaders/APPX/File.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PrivateHeaders/APPX/File.h b/PrivateHeaders/APPX/File.h
index 3af3eba..76d7541 100644
--- a/PrivateHeaders/APPX/File.h
+++ b/PrivateHeaders/APPX/File.h
@@ -15,6 +15,7 @@
 #include <errno.h>
 #include <memory>
 #include <string>
+#include <stdexcept>
 
 namespace facebook {
 namespace appx {
-- 
2.26.2


Reply via email to