graphics/inkscape: update upstream patch

This commit is contained in:
Charlie Li
2023-09-17 17:22:52 -04:00
parent 817d2bd2b8
commit 9c77ef5e7b
3 changed files with 4 additions and 15 deletions

View File

@@ -5,7 +5,7 @@ MASTER_SITES= https://media.inkscape.org/dl/resources/file/
PATCH_SITES= https://gitlab.com/${PORTNAME}/${PORTNAME}/-/commit/
PATCHFILES+= 3db96bfbac475022a32b70473b767b21a8d70c7f.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/issues/4427
PATCHFILES+= 00851fede7f9162cbcacf81258d1dda823b88a5c.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/5650
PATCHFILES+= 5183d14d331e4f2022b9ab0f83d45e4e17951013.patch:-p1 # https://gitlab.com/inkscape/inkscape/-/merge_requests/5650
MAINTAINER= gnome@FreeBSD.org
COMMENT= Full featured open source SVG editor

View File

@@ -1,7 +1,7 @@
TIMESTAMP = 1692891317
TIMESTAMP = 1694983728
SHA256 (inkscape-1.3.tar.xz) = bf4f286b025e0169b8948cc14d5199a9b4c204d761c894c4b48496571ec76307
SIZE (inkscape-1.3.tar.xz) = 85764028
SHA256 (3db96bfbac475022a32b70473b767b21a8d70c7f.patch) = fb572fa3b566149293b0ffeae468ff6025d0e54a090d928eb8c2037afe2d3f8d
SIZE (3db96bfbac475022a32b70473b767b21a8d70c7f.patch) = 2003
SHA256 (00851fede7f9162cbcacf81258d1dda823b88a5c.patch) = d0ebfcb85682345d7e10d97931894acd171881a8467b70a777f37a293d255a59
SIZE (00851fede7f9162cbcacf81258d1dda823b88a5c.patch) = 5207
SHA256 (5183d14d331e4f2022b9ab0f83d45e4e17951013.patch) = f62186b0655ea0aae5802b464c71e107155a4c93b6e0c9bae7c870dad956f4fa
SIZE (5183d14d331e4f2022b9ab0f83d45e4e17951013.patch) = 7711

View File

@@ -1,11 +0,0 @@
--- 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()));