Hello community,

here is the log from the commit of package glibmm2_4 for openSUSE:Factory 
checked in at 2018-03-01 12:07:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibmm2_4 (Old)
 and      /work/SRC/openSUSE:Factory/.glibmm2_4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glibmm2_4"

Thu Mar  1 12:07:14 2018 rev:5 rq:580879 version:2.52.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/glibmm2_4/glibmm2_4.changes      2017-09-15 
21:06:17.809896027 +0200
+++ /work/SRC/openSUSE:Factory/.glibmm2_4.new/glibmm2_4.changes 2018-03-01 
12:07:15.647278479 +0100
@@ -1,0 +2,10 @@
+Wed Feb 28 08:30:00 UTC 2018 - [email protected]
+
+- Package COPYING as %license instead of %doc.
+
+-------------------------------------------------------------------
+Tue Feb 27 09:11:55 UTC 2018 - [email protected]
+
+- Add gcc8.patch: add missing address operator.
+
+-------------------------------------------------------------------

New:
----
  gcc8.patch

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

Other differences:
------------------
++++++ glibmm2_4.spec ++++++
--- /var/tmp/diff_new_pack.96PIbq/_old  2018-03-01 12:07:16.275255939 +0100
+++ /var/tmp/diff_new_pack.96PIbq/_new  2018-03-01 12:07:16.275255939 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package glibmm2_4
 #
-# 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
@@ -18,25 +18,26 @@
 
 # Update baselibs.conf when changing this
 %define so_ver -2_4-1
-
-Name:           glibmm2_4
 %define _name glibmm
+Name:           glibmm2_4
 Version:        2.52.1
 Release:        0
 Summary:        C++ Interface for Glib
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Development/Libraries/C and C++
 Url:            http://www.gtkmm.org/
 Source0:        
http://download.gnome.org/sources/glibmm/2.52/%{_name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM gcc8.patch [email protected] -- Add missing address 
operator, fixes build wity GCC 8.
+Patch0:         gcc8.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(gio-2.0)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.49.7
 BuildRequires:  pkgconfig(gmodule-2.0) >= 2.49.7
 BuildRequires:  pkgconfig(gobject-2.0) >= 2.49.7
 BuildRequires:  pkgconfig(sigc++-2.0) >= 2.9.1
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Glibmm is the official C++ interface for the popular cross-platform
@@ -44,7 +45,6 @@
 C++ and makes it possible for gtkmm to wrap GObject-based APIs.
 
 %package -n libglibmm%{so_ver}
-
 Summary:        C++ Interface for Glib
 Group:          System/Libraries
 Provides:       glibmm2 = %{version}
@@ -58,7 +58,6 @@
 C++ and makes it possible for gtkmm to wrap GObject-based APIs.
 
 %package -n libgiomm%{so_ver}
-
 Summary:        C++ Interface for Gio
 Group:          System/Libraries
 
@@ -87,6 +86,7 @@
 
 %prep
 %setup -q -n %{_name}-%{version}
+%patch0 -p1
 
 %build
 %configure --disable-static
@@ -94,29 +94,24 @@
 
 %install
 %make_install
-rm %{buildroot}%{_libdir}/*.la
+find %{buildroot} -type f -name "*.la" -delete -print
 %fdupes %{buildroot}
 
 %post -n libglibmm%{so_ver} -p /sbin/ldconfig
-
 %postun -n libglibmm%{so_ver} -p /sbin/ldconfig
-
 %post -n libgiomm%{so_ver} -p /sbin/ldconfig
-
 %postun -n libgiomm%{so_ver} -p /sbin/ldconfig
 
 %files -n libglibmm%{so_ver}
-%defattr (-, root, root)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%license COPYING
+%doc AUTHORS ChangeLog NEWS README
 %{_libdir}/libglibmm-2.4.so.*
 %{_libdir}/libglibmm_generate_extra_defs-2.4.so.*
 
 %files -n libgiomm%{so_ver}
-%defattr (-, root, root)
 %{_libdir}/libgiomm-2.4.so.*
 
 %files devel
-%defattr (-, root, root)
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %{_includedir}/*

++++++ gcc8.patch ++++++
Index: glibmm-2.52.1/glib/glibmm/threads.h
===================================================================
--- glibmm-2.52.1.orig/glib/glibmm/threads.h
+++ glibmm-2.52.1/glib/glibmm/threads.h
@@ -657,7 +657,7 @@ public:
    */
   inline void replace(T* data);
 
-  GPrivate* gobj() { return gobject_; }
+  GPrivate* gobj() { return &gobject_; }
 
 private:
   GPrivate gobject_;

Reply via email to