[packages/agg] - added types patch

qboosh qboosh at pld-linux.org
Sun Aug 25 21:46:19 CEST 2024


commit c5cf9263e8ed45b890b7d665665ce64125032f80
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Aug 25 21:40:51 2024 +0200

    - added types patch

 agg-types.patch | 11 +++++++++++
 agg.spec        |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/agg.spec b/agg.spec
index 917b821..06ae3ff 100644
--- a/agg.spec
+++ b/agg.spec
@@ -10,11 +10,12 @@ Source0:	http://www.antigrain.com/%{name}-%{version}.tar.gz
 Patch0:		%{name}-depends.patch
 Patch1:		ac.patch
 Patch2:		cxx.patch
+Patch3:		%{name}-types.patch
 URL:		http://www.antigrain.com/
 BuildRequires:	SDL-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	freetype-devel
+BuildRequires:	freetype-devel >= 2.0
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
@@ -80,6 +81,7 @@ Statyczna biblioteka agg.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
diff --git a/agg-types.patch b/agg-types.patch
new file mode 100644
index 0000000..b5df4a7
--- /dev/null
+++ b/agg-types.patch
@@ -0,0 +1,11 @@
+--- agg-2.5/font_freetype/agg_font_freetype.cpp.orig	2024-08-25 21:38:12.185176087 +0200
++++ agg-2.5/font_freetype/agg_font_freetype.cpp	2024-08-25 21:37:20.582122312 +0200
+@@ -165,7 +165,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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/agg.git/commitdiff/c5cf9263e8ed45b890b7d665665ce64125032f80



More information about the pld-cvs-commit mailing list