Skip to content
Snippets Groups Projects
Commit a0ddecaf authored by Daniel Engberg's avatar Daniel Engberg
Browse files

cad/opencascade740: Fix build with with freetype2 2.13.3

Apply same fix as for cad/opencascade

PR:		281316
Approved by:	portmgr (blanket, build fix)
parent a99e5ef3
No related branches found
No related tags found
No related merge requests found
PORTNAME= opencascade
PORTVERSION= 7.4.0 # resurrected because science/chrono only builds with opencascade-7.4.0, see https://github.com/projectchrono/chrono/issues/359#issuecomment-1023478083
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= cad science
PKGNAMESUFFIX= 740
......
--- src/Font/Font_BRepFont.cxx.orig 2024-09-24 18:34:32 UTC
+++ src/Font/Font_BRepFont.cxx
@@ -430,7 +430,7 @@ Standard_Boolean Font_BRepFont::renderGlyph (const Sta
for (short aContour = 0, aStartIndex = 0; aContour < anOutline.n_contours; ++aContour)
{
const FT_Vector* aPntList = &anOutline.points[aStartIndex];
- const char* aTags = &anOutline.tags[aStartIndex];
+ const auto* aTags = &anOutline.tags[aStartIndex];
const short anEndIndex = anOutline.contours[aContour];
const short aPntsNb = (anEndIndex - aStartIndex) + 1;
aStartIndex = anEndIndex + 1;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment