Accepting request 64621 from GNOME:Factory
Accepted submit request 64621 from user dimstar OBS-URL: https://build.opensuse.org/request/show/64621 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsigc++2?expand=0&rev=21
This commit is contained in:
commit
b304fc7c91
20
libsigc++2-gcc46.patch
Normal file
20
libsigc++2-gcc46.patch
Normal file
@ -0,0 +1,20 @@
|
||||
commit faabe1f90c142a5ea836884a04c0eef250e69f94
|
||||
Author: Kalev Lember <kalev@smartlink.ee>
|
||||
Date: Fri Feb 4 12:17:05 2011 +0200
|
||||
|
||||
Fix the build with GCC 4.6
|
||||
|
||||
* sigc++/signal_base.h: Include <cstddef> for size_t.
|
||||
|
||||
diff --git a/sigc++/signal_base.h b/sigc++/signal_base.h
|
||||
index 1638642..e43bd5e 100644
|
||||
--- a/sigc++/signal_base.h
|
||||
+++ b/sigc++/signal_base.h
|
||||
@@ -21,6 +21,7 @@
|
||||
#ifndef _SIGC_SIGNAL_BASE_H_
|
||||
#define _SIGC_SIGNAL_BASE_H_
|
||||
|
||||
+#include <cstddef>
|
||||
#include <list>
|
||||
#include <sigc++config.h>
|
||||
#include <sigc++/type_traits.h>
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 16 08:57:51 UTC 2011 - ismail@namtrac.org
|
||||
|
||||
- Add libsigc++2-gcc46.patch: Patch from upstream
|
||||
to fix compilation with gcc 4.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 11 19:53:12 CEST 2010 - vuntz@opensuse.org
|
||||
|
||||
|
@ -30,6 +30,8 @@ Summary: Typesafe Signal Framework for C++
|
||||
Url: http://libsigc.sourceforge.net/
|
||||
Source: %{_name}-%{version}.tar.bz2
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM libsigc++2-gcc46.patch idoenmez@suse.de -- Fix compilation with gcc 4.6
|
||||
Patch0: libsigc++2-gcc46.patch
|
||||
AutoReqProv: on
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -73,6 +75,7 @@ of use unmatched by other C++ callback libraries.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# FIXME: Cannot autoreconf, bad templates:
|
||||
|
Loading…
Reference in New Issue
Block a user