diff --git a/graphics/agg/Makefile b/graphics/agg/Makefile index ea4564830f56..88a4693bc8b3 100644 --- a/graphics/agg/Makefile +++ b/graphics/agg/Makefile @@ -1,34 +1,32 @@ PORTNAME= agg PORTVERSION= 2.5 PORTREVISION= 11 CATEGORIES= graphics 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 CPE_VENDOR= antigrain USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_SDL= sdl USE_XORG= x11 GNU_CONFIGURE= yes INSTALL_TARGET= install-strip post-patch: @${REINPLACE_CMD} 's/_LDFLAGS/_LDADD/' ${WRKSRC}/examples/Makefile.am .include 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