On 08/08/2014 07:21 PM, [email protected] wrote:
> Author: ken
> Date: Fri Aug  8 10:21:44 2014
> New Revision: 2972
> 
> Log:
> Fix libsigc++-2.3.2 for inkscape.
> 
> Added:
>    trunk/libsigc++/libsigc++-2.3.2-upstream_fix-1.patch
> 
> Added: trunk/libsigc++/libsigc++-2.3.2-upstream_fix-1.patch
> ==============================================================================
> --- /dev/null 00:00:00 1970   (empty, because file is newly added)
> +++ trunk/libsigc++/libsigc++-2.3.2-upstream_fix-1.patch      Fri Aug  8 
> 10:21:44 2014        (r2972)
> @@ -0,0 +1,31 @@
> +Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
> +Date: 2014-08-08
> +Initial Package Version: 2.3.2
> +Upstream Status: Applied
> +Origin: Upstream
> +Description: Adds a missing header.
> +
> +From df361299c3f9a0922a683e5fa3869764932bb19a Mon Sep 17 00:00:00 2001
> +From: Kjell Ahlstedt <[email protected]>
> +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 <sigc++/visit_each.h>
> + #include <sigc++/type_traits.h>
> + #include <sigc++/trackable.h>
> + 
> +-- 
> +cgit v0.10.1
> +
> 

Wasn't it easier/simpler to use a sed?

-- 
Note: My last name is not Krejzi.

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to