diff options
author | kwm <kwm@FreeBSD.org> | 2014-04-14 18:32:54 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-04-14 18:32:54 +0800 |
commit | bf2084bc1e17162a8a2f779ebb405e878ef598ab (patch) | |
tree | 73558c5c3c3006708348ab1cb110bbfb3578fbc5 /graphics | |
parent | 36f6a317cef3f62748e172a754dea0ed4dbd6305 (diff) | |
download | freebsd-ports-gnome-bf2084bc1e17162a8a2f779ebb405e878ef598ab.tar.gz freebsd-ports-gnome-bf2084bc1e17162a8a2f779ebb405e878ef598ab.tar.zst freebsd-ports-gnome-bf2084bc1e17162a8a2f779ebb405e878ef598ab.zip |
Fix build with clang 3.4
Submitted by: Matthew Rezny <matthew@reztek.cz>
Obtained from: inkscape upstream
http://bazaar.launchpad.net/~inkscape.dev/inkscape/RELEASE_0_48_BRANCH/revision/10019#src/live_effects/lpe-perp_bisector.h
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/inkscape/files/patch-src_live_effects_lpe-perp_bisector.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/inkscape/files/patch-src_live_effects_lpe-perp_bisector.h b/graphics/inkscape/files/patch-src_live_effects_lpe-perp_bisector.h new file mode 100644 index 000000000000..d090a4228d18 --- /dev/null +++ b/graphics/inkscape/files/patch-src_live_effects_lpe-perp_bisector.h @@ -0,0 +1,20 @@ +--- src/live_effects/lpe-perp_bisector.h.orig 2011-07-08 20:25:09.468790000 +0200 ++++ src/live_effects/lpe-perp_bisector.h +@@ -27,7 +27,7 @@ + class KnotHolderEntityEnd; + class KnotHolderEntityLeftEnd; + class KnotHolderEntityRightEnd; +- void bisector_end_set(SPItem *item, Geom::Point const &p, bool left); ++ void bisector_end_set(SPItem *item, Geom::Point const &p, bool left = true); + } + + class LPEPerpBisector : public Effect { +@@ -46,7 +46,7 @@ + friend class PB::KnotHolderEntityEnd; + friend class PB::KnotHolderEntityLeftEnd; + friend class PB::KnotHolderEntityRightEnd; +- friend void PB::bisector_end_set(SPItem *item, Geom::Point const &p, bool left = true); ++ friend void PB::bisector_end_set(SPItem *item, Geom::Point const &p, bool left); + + private: + ScalarParam length_left; |