From 584822ee4d11289a5d7f5bd615a0f5afa14b90079d9da3338e3f609f80440822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Tue, 26 Aug 2014 22:02:30 +0000 Subject: [PATCH] Accepting request 246578 from home:dimstar:inkscape Fix inkscape - patch from upstream OBS-URL: https://build.opensuse.org/request/show/246578 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++2?expand=0&rev=36 --- libsigc++2-includes.patch | 25 +++++++++++++++++++++++++ libsigc++2.changes | 6 ++++++ libsigc++2.spec | 3 +++ 3 files changed, 34 insertions(+) create mode 100644 libsigc++2-includes.patch diff --git a/libsigc++2-includes.patch b/libsigc++2-includes.patch new file mode 100644 index 0000000..f31689b --- /dev/null +++ b/libsigc++2-includes.patch @@ -0,0 +1,25 @@ +From df361299c3f9a0922a683e5fa3869764932bb19a Mon Sep 17 00:00:00 2001 +From: Kjell Ahlstedt +Date: Fri, 8 Aug 2014 12:47:02 +0200 +Subject: Add an include in limit_reference.h + +* sigc++/macros/limit_reference.h.m4: limit_reference.h must include +visit_each.h, with the primary definition of template struct visitor. +https://mail.gnome.org/archives/libsigc-list/2014-August/msg00001.html + +diff --git a/sigc++/macros/limit_reference.h.m4 b/sigc++/macros/limit_reference.h.m4 +index 802446c..bb4b3b7 100644 +--- a/sigc++/macros/limit_reference.h.m4 ++++ b/sigc++/macros/limit_reference.h.m4 +@@ -137,6 +137,7 @@ divert(0) + + _FIREWALL([LIMIT_REFERENCE]) + ++#include + #include + #include + +-- +cgit v0.10.1 + + diff --git a/libsigc++2.changes b/libsigc++2.changes index a56a478..4541175 100644 --- a/libsigc++2.changes +++ b/libsigc++2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 26 20:09:45 UTC 2014 - dimstar@opensuse.org + +- Add libsigc++2-includes.patch: Add an include in + limit_reference.h. + ------------------------------------------------------------------- Fri Aug 1 09:24:57 UTC 2014 - zaitor@opensuse.org diff --git a/libsigc++2.spec b/libsigc++2.spec index 6baf7e3..d87f590 100644 --- a/libsigc++2.spec +++ b/libsigc++2.spec @@ -26,6 +26,8 @@ Group: System/Libraries Url: http://libsigc.sourceforge.net/ Source: http://download.gnome.org/sources/libsigc++/2.3/%{_name}-%{version}.tar.xz Source99: baselibs.conf +# PATCH-FIX-UPSTREAM libsigc++2-includes.patch dimstar@opensuse.org -- Add an include in limit_reference.h, taken from git +Patch0: libsigc++2-includes.patch BuildRequires: gcc-c++ BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -68,6 +70,7 @@ of use unmatched by other C++ callback libraries. %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build # FIXME: Cannot autoreconf, bad templates: