pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/ftgl



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 21 19:57:34 UTC 2024

Modified Files:
        pkgsrc/graphics/ftgl: distinfo
Added Files:
        pkgsrc/graphics/ftgl/patches: patch-src_FTVectoriser.cpp

Log Message:
ftgl: fix build with latest freetype2


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/ftgl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/graphics/ftgl/patches/patch-src_FTVectoriser.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/ftgl/distinfo
diff -u pkgsrc/graphics/ftgl/distinfo:1.3 pkgsrc/graphics/ftgl/distinfo:1.4
--- pkgsrc/graphics/ftgl/distinfo:1.3   Tue Oct 26 10:46:08 2021
+++ pkgsrc/graphics/ftgl/distinfo       Wed Aug 21 19:57:34 2024
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:46:08 nia Exp $
+$NetBSD: distinfo,v 1.4 2024/08/21 19:57:34 wiz Exp $
 
 BLAKE2s (ftgl-2.1.3-rc5.tar.gz) = 213092577301d461b61914d78b94a66c851eeecec230e325df5202dcbb7266d0
 SHA512 (ftgl-2.1.3-rc5.tar.gz) = 77518c4546b53662b45a5c9af2418697b1a4a6250316c1e11ee71ccffc58ce03d5f19c901021b0e1cd05fec8444c84197e4bef77c662513dd6da8c29800cc3cd
 Size (ftgl-2.1.3-rc5.tar.gz) = 841597 bytes
 SHA1 (patch-src_FTFont_FTBufferFont.cpp) = aa24fbd34b394cea3b107d6d55fc07c37d20aaa5
+SHA1 (patch-src_FTVectoriser.cpp) = a94c52638671f9c3d0cf3414055ed62a964ee5a9

Added files:

Index: pkgsrc/graphics/ftgl/patches/patch-src_FTVectoriser.cpp
diff -u /dev/null pkgsrc/graphics/ftgl/patches/patch-src_FTVectoriser.cpp:1.1
--- /dev/null   Wed Aug 21 19:57:34 2024
+++ pkgsrc/graphics/ftgl/patches/patch-src_FTVectoriser.cpp     Wed Aug 21 19:57:34 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_FTVectoriser.cpp,v 1.1 2024/08/21 19:57:34 wiz Exp $
+
+Fix build with freetype 2.13.3.
+
+--- src/FTVectoriser.cpp.orig  2024-08-21 19:55:34.860855515 +0000
++++ src/FTVectoriser.cpp
+@@ -166,7 +166,7 @@ void FTVectoriser::ProcessContours()
+     for(int i = 0; i < ftContourCount; ++i)
+     {
+         FT_Vector* pointList = &outline.points[startIndex];
+-        char* tagList = &outline.tags[startIndex];
++        char* tagList = (char *)&outline.tags[startIndex];
+ 
+         endIndex = outline.contours[i];
+         contourLength =  (endIndex - startIndex) + 1;



Home | Main Index | Thread Index | Old Index