Hello community,

here is the log from the commit of package xsd for openSUSE:Factory checked in 
at 2019-12-11 12:01:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xsd (Old)
 and      /work/SRC/openSUSE:Factory/.xsd.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xsd"

Wed Dec 11 12:01:01 2019 rev:8 rq:754299 version:4.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/xsd/xsd.changes  2017-02-08 10:45:12.775436302 
+0100
+++ /work/SRC/openSUSE:Factory/.xsd.new.4691/xsd.changes        2019-12-11 
12:01:31.044831407 +0100
@@ -1,0 +2,6 @@
+Thu Dec  5 09:03:23 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Add 0001-Fix-build-with-GCC10.patch (boo#1158369)
+- Run spec-cleaner
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-with-GCC10.patch

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

Other differences:
------------------
++++++ xsd.spec ++++++
--- /var/tmp/diff_new_pack.ZXDBh3/_old  2019-12-11 12:01:32.428830825 +0100
+++ /var/tmp/diff_new_pack.ZXDBh3/_new  2019-12-11 12:01:32.432830823 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xsd
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -20,25 +20,26 @@
 Version:        4.0.0
 Release:        0
 Summary:        W3C XML schema to C++ data binding compiler
+# http://www.codesynthesis.com/products/xsd/license.xhtml
 License:        SUSE-GPL-2.0-with-FLOSS-exception
 Group:          Development/Languages/C and C++
-# http://www.codesynthesis.com/products/xsd/license.xhtml
-Url:            http://www.codesynthesis.com/products/xsd/
+URL:            https://www.codesynthesis.com/products/xsd/
 Source0:        
http://www.codesynthesis.com/download/xsd/4.0/%{name}-%{version}+dep.tar.bz2
 Source99:       xsd-rpmlintrc
 # Rename xsd to xsdcxx
 Patch0:         xsdcxx-rename.patch
-%if 0%{?suse_version} > 1325
-BuildRequires:  libboost_headers-devel
-%else
-BuildRequires:  boost-devel
-%endif
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Fix-build-with-GCC10.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  libxerces-c-devel > 2.8.0
 BuildRequires:  m4
 Requires:       libxerces-c-devel
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%if 0%{?suse_version} > 1325
+BuildRequires:  libboost_headers-devel
+%else
+BuildRequires:  boost-devel
+%endif
 
 %description
 CodeSynthesis XSD is an open-source, cross-platform W3C XML Schema to
@@ -58,8 +59,7 @@
 This package contains API documentation for xsd.
 
 %prep
-%setup -q -n %{name}-%{version}+dep
-%patch0 -p1
+%autosetup -p1 -n %{name}-%{version}+dep
 
 %build
 make verbose=1 CXXFLAGS="%{optflags}" %{?_smp_mflags}
@@ -78,14 +78,13 @@
 %fdupes -s %{buildroot}%{_datadir}/doc
 
 %files
-%defattr(-,root,root,-)
-%doc README xsd/NEWS xsd/LICENSE xsd/GPLv2 xsd/FLOSSE
+%license xsd/LICENSE
+%doc README xsd/NEWS xsd/GPLv2 xsd/FLOSSE
 %{_bindir}/xsdcxx
 %{_includedir}/xsd/
-%{_mandir}/man1/xsdcxx.1*
+%{_mandir}/man1/xsdcxx.1%{?ext_man}
 
 %files doc
-%defattr(-,root,root,-)
 %doc %{_datadir}/doc/xsdcxx
 
 %changelog

++++++ 0001-Fix-build-with-GCC10.patch ++++++
>From 99c4d0675289b708523c633eb09d00cb903a9603 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Thu, 5 Dec 2019 10:11:25 +0100
Subject: [PATCH] Fix build with GCC10

---
 libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx 
b/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
index fa48a9a..59994ae 100644
--- a/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
+++ b/libxsd-frontend/xsd-frontend/semantic-graph/elements.cxx
@@ -2,6 +2,7 @@
 // copyright : Copyright (c) 2005-2014 Code Synthesis Tools CC
 // license   : GNU GPL v2 + exceptions; see accompanying LICENSE file
 
+#include <iostream>
 #include <algorithm>
 
 #include <cutl/compiler/type-info.hxx>
-- 
2.24.0


Reply via email to