1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

graphics/agg: fix build

- take maintainership
MFC: 2024Q4
This commit is contained in:
Dirk Meyer 2024-11-01 20:55:38 +01:00
parent 5d754c0358
commit 186a4e5fc4
2 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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