ports/graphics/inkscape/files/patch-src_helper_geom.h
Charlie Li c41b45f3bf
graphics/inkscape: update to 1.3
Also update math/lib2geom to 1.3, which must be updated together

Release notes: https://inkscape.org/doc/release_notes/1.3/Inkscape_1.3.html

- 2.5 patches included to address system macro clashes
- DBUS option removed, now uses GDBus from GLib instead of dbus-glib

Differential Revision: https://reviews.freebsd.org/D41503
2023-08-26 13:43:35 -04:00

11 lines
525 B
C++

--- src/helper/geom.h.orig 2023-08-24 15:45:30 UTC
+++ src/helper/geom.h
@@ -55,7 +55,7 @@ inline Geom::Coord triangle_area(Geom::Point const &p1
return p1[X] * p2[Y] + p1[Y] * p3[X] + p2[X] * p3[Y] - p2[Y] * p3[X] - p1[Y] * p2[X] - p1[X] * p3[Y];
}
-inline auto rounddown(Geom::IntPoint const &a, Geom::IntPoint const &b)
+inline auto round_down(Geom::IntPoint const &a, Geom::IntPoint const &b)
{
using namespace Inkscape::Util;
return Geom::IntPoint(round_down(a.x(), b.x()), round_down(a.y(), b.y()));