[packages/ftgl] Rel 2

arekm arekm at pld-linux.org
Wed May 20 20:16:09 CEST 2026


commit 0a09237c0ced80a11972df2a7a7a9e59a0fc4a01
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 20:15:53 2026 +0200

    Rel 2

 ftgl-tag-type.patch | 11 +++++++++++
 ftgl.spec           |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/ftgl.spec b/ftgl.spec
index e798591..6d931e9 100644
--- a/ftgl.spec
+++ b/ftgl.spec
@@ -2,12 +2,13 @@ Summary:	OpenGL frontend to freetype2
 Summary(pl.UTF-8):	Nakładka OpenGL na freetype2 - łatwy dostęp do fontów z poziomu OpenGL
 Name:		ftgl
 Version:	2.4.0
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/frankheckenbach/ftgl
 Source0:	https://github.com/frankheckenbach/ftgl/archive/v%{version}/%{name}-%{version}.tar.gz
 # Source0-md5:	fba1e1c548ebe3ab362495e96a7a0670
+Patch0:		%{name}-tag-type.patch
 URL:		https://github.com/frankheckenbach/ftgl
 BuildRequires:	OpenGL-GLU-devel >= 1.2
 BuildRequires:	autoconf >= 2.58
@@ -88,6 +89,7 @@ Dokumentacja API biblioteki FTGL.
 
 %prep
 %setup -q
+%patch -P 0 -p1
 
 %build
 %{__libtoolize}
diff --git a/ftgl-tag-type.patch b/ftgl-tag-type.patch
new file mode 100644
index 0000000..9f14b83
--- /dev/null
+++ b/ftgl-tag-type.patch
@@ -0,0 +1,11 @@
+--- ftgl-2.4.0/src/FTVectoriser.cpp.orig
++++ ftgl-2.4.0/src/FTVectoriser.cpp
+@@ -168,7 +168,7 @@
+     for(int i = 0; i < ftContourCount; ++i)
+     {
+         FT_Vector* pointList = &outline.points[startIndex];
+-        char* tagList = &outline.tags[startIndex];
++        char* tagList = reinterpret_cast<char*>(&outline.tags[startIndex]);
+
+         endIndex = outline.contours[i];
+         contourLength =  (endIndex - startIndex) + 1;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ftgl.git/commitdiff/0a09237c0ced80a11972df2a7a7a9e59a0fc4a01



More information about the pld-cvs-commit mailing list