Hello community,

here is the log from the commit of package physfs for openSUSE:Factory checked 
in at 2017-06-22 10:40:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/physfs (Old)
 and      /work/SRC/openSUSE:Factory/.physfs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "physfs"

Thu Jun 22 10:40:40 2017 rev:26 rq:505510 version:2.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/physfs/physfs.changes    2016-11-14 
20:12:05.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.physfs.new/physfs.changes       2017-06-22 
10:40:43.278845343 +0200
@@ -1,0 +2,5 @@
+Wed Jun 21 15:05:36 UTC 2017 - [email protected]
+
+- Add physfs-gcc7.patch: Fix build with gcc7 (boo#1041279).
+
+-------------------------------------------------------------------

New:
----
  physfs-gcc7.patch

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

Other differences:
------------------
++++++ physfs.spec ++++++
--- /var/tmp/diff_new_pack.ArKEVD/_old  2017-06-22 10:40:43.790773166 +0200
+++ /var/tmp/diff_new_pack.ArKEVD/_new  2017-06-22 10:40:43.794772601 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package physfs
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -43,10 +43,11 @@
 Group:          System/Libraries
 Url:            http://www.icculus.org/physfs/
 Source:         http://icculus.org/physfs/downloads/%{name}-%{version}.tar.bz2
+Patch0:         physfs-gcc7.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
-BuildRequires:  zlib-devel
 BuildRequires:  pkgconfig
+BuildRequires:  zlib-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -54,8 +55,8 @@
 
 %package -n lib%{name}%{so_nr}
 Summary:        PhysicsFS file abstraction layer for games
-Group:          System/Libraries
 # physfs was last used in openSUSE 11.3
+Group:          System/Libraries
 Provides:       physfs = %{version}
 Obsoletes:      physfs <= 1.0.1
 
@@ -75,6 +76,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # just to be sure...

++++++ physfs-gcc7.patch ++++++
Index: physfs-2.0.3/lzma/C/Archive/7z/7zIn.c
===================================================================
--- physfs-2.0.3.orig/lzma/C/Archive/7z/7zIn.c
+++ physfs-2.0.3/lzma/C/Archive/7z/7zIn.c
@@ -1123,7 +1123,7 @@ SZ_RESULT SzReadAndDecodePackedStreams2(
 {
 
   UInt32 numUnPackStreams = 0;
-  CFileSize dataStartPos;
+  CFileSize dataStartPos = 0;
   CFolder *folder;
   #ifndef _LZMA_IN_CB
   CFileSize packSize = 0;

Reply via email to