Accepting request 69600 from GNOME:Factory

Update to 2.2.9 (forwarded request 69598 from vuntz)

OBS-URL: https://build.opensuse.org/request/show/69600
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsigc++2?expand=0&rev=23
This commit is contained in:
Sascha Peilicke 2011-05-05 07:41:24 +00:00 committed by Git OBS Bridge
commit 0a39ec3070
6 changed files with 20 additions and 33 deletions

View File

@ -1,3 +1,3 @@
libsigc-2_0-0
provides "libsigc++2-<targettype> = <version>"
obsoletes "libsigc++2-<targettype> <= <version>"
obsoletes "libsigc++2-<targettype> < <version>"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0fd75fd8249e09ae2fd3ffd20c3fbaea11b47d71ba5ba2340ed98b6bdca40ea8
size 3744672

3
libsigc++-2.2.9.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f4c083e01d9be377669206bd97090d2e95bc05f2e8d95447c9f9ce92bdfbb63
size 3601080

View File

@ -1,20 +0,0 @@
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>

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed May 4 10:33:03 CEST 2011 - vuntz@opensuse.org
- Update to version 2.2.9:
+ trackable: Avoid calling the same callback function twice,
fixing some memory corruption (bgo#589202)
+ Minor documentation corrections
+ Fix the build with GCC 4.6
+ Windows build fixes for MSVC++ .Net 2005 and 2010
- Drop libsigc++2-gcc46.patch: fixed upstream.
- Change libsigc++2 Obsoletes from <= to < now that we have a new
upstream version.
-------------------------------------------------------------------
Wed Mar 16 08:57:51 UTC 2011 - ismail@namtrac.org

View File

@ -21,18 +21,14 @@
Name: libsigc++2
%define _name libsigc++
BuildRequires: gcc-c++ pkg-config
Version: 2.2.8
Release: 6
# NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf)
Version: 2.2.9
Release: 1
Group: System/Libraries
License: LGPLv2.1+
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
%description
@ -48,8 +44,7 @@ License: LGPLv2.1+
Group: System/Libraries
Summary: Typesafe Signal Framework for C++
Provides: %{name} = %{version}
# Note: we keep <= (and a rpmlint warning...) until we get a version higher than 2.2.8 (when this provides/obsoletes was introduced)
Obsoletes: %{name} <= %{version}
Obsoletes: %{name} < %{version}
%description -n libsigc-2_0-0
This library implements a full callback system for use in widget
@ -75,7 +70,6 @@ of use unmatched by other C++ callback libraries.
%prep
%setup -q -n %{_name}-%{version}
%patch0 -p1
%build
# FIXME: Cannot autoreconf, bad templates: