Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2024 19:58:10 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: f37abb5bc32b - 2024Q4 - graphics/agg: fix build
Message-ID:  <202411011958.4A1JwAdx095652@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f37abb5bc32b4de2e8788e91b39f2d2c4e2aea3e

commit f37abb5bc32b4de2e8788e91b39f2d2c4e2aea3e
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-11-01 19:55:38 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-11-01 19:58:02 +0000

    graphics/agg: fix build
    
    - take maintainership
    MFC: 2024Q4
    
    (cherry picked from commit 186a4e5fc407c29afb12703c8dd7b6ed9dab6b59)
---
 graphics/agg/Makefile                                         |  4 +---
 graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp | 11 +++++++++++
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile
index ea4564830f56..88a4693bc8b3 100644
--- a/graphics/agg/Makefile
+++ b/graphics/agg/Makefile
@@ -6,15 +6,13 @@ MASTER_SITES=	http://distfiles.alpinelinux.org/distfiles/ \
 		http://distfiles.lesslinux.org/ \
 		http://gentoo.netnitco.net/distfiles/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	dinoex@FreeBSD.org
 COMMENT=	High Quality Rendering Engine for C++
 WWW=		http://www.antigrain.com/
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/copying
 
-BROKEN=		Fails to build with freetype2 2.13.3, PR 281321, error: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not
-
 LIB_DEPENDS=	libfreetype.so:print/freetype2
 
 USES=		autoreconf cpe gmake libtool pathfix pkgconfig sdl xorg
diff --git a/graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp b/graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp
new file mode 100644
index 000000000000..2bae296c0829
--- /dev/null
+++ b/graphics/agg/files/patch-font_freetype__agg_font_freetype.cpp
@@ -0,0 +1,11 @@
+--- font_freetype/agg_font_freetype.cpp.orig	2023-08-21 15:51:12 UTC
++++ font_freetype/agg_font_freetype.cpp
+@@ -158,7 +158,7 @@ namespace agg
+ 
+         FT_Vector*  point;
+         FT_Vector*  limit;
+-        char*       tags;
++        unsigned char *tags;
+ 
+         int   n;         // index of contour in outline
+         int   first;     // index of first point in contour



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411011958.4A1JwAdx095652>