Accepting request 580545 from home:Andreas_Schwab:gcc8
- gcc8.patch: add missing address operator OBS-URL: https://build.opensuse.org/request/show/580545 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glibmm2_4?expand=0&rev=10
This commit is contained in:
parent
5dcce054ed
commit
f6c7f1fa6c
13
gcc8.patch
Normal file
13
gcc8.patch
Normal file
@ -0,0 +1,13 @@
|
||||
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_;
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 09:11:55 UTC 2018 - schwab@suse.de
|
||||
|
||||
- gcc8.patch: add missing address operator
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 14 08:45:45 UTC 2017 - zaitor@opensuse.org
|
||||
|
||||
|
@ -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
|
||||
@ -24,11 +24,12 @@ 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
|
||||
Patch0: gcc8.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
@ -87,6 +88,7 @@ C++ and makes it possible for gtkmm to wrap GObject-based APIs.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
Loading…
Reference in New Issue
Block a user