-
Notifications
You must be signed in to change notification settings - Fork 726
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switch to git fork which has all the patches - Fix build with freetype 2.13.3 Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
6 changed files
with
53 additions
and
141 deletions.
There are no files selected for viewing
38 changes: 0 additions & 38 deletions
38
...ecipes-graphics/ftgl/ftgl/0001-Explicit-typecast-to-avoid-implicit-double-to-float-.patch
This file was deleted.
Oops, something went wrong.
33 changes: 33 additions & 0 deletions
33
meta-oe/recipes-graphics/ftgl/ftgl/0001-Fix-type-mismatch-with-latest-FreeType.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
From d11219b681a080c71e33c51c9404c28b134e1745 Mon Sep 17 00:00:00 2001 | ||
From: Khem Raj <[email protected]> | ||
Date: Wed, 21 Aug 2024 13:50:34 -0700 | ||
Subject: [PATCH] Fix type mismatch with latest FreeType | ||
|
||
This change is intrumented due to a type change in freetype [1] with release 2.13.3 | ||
|
||
Fixes | ||
| ../../git/src/FTVectoriser.cpp:171:15: error: cannot initialize a variable of type 'char *' with an rvalue of type 'unsigned char *' | ||
| 171 | char* tagList = &outline.tags[startIndex]; | ||
| | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
|
||
[1] https://gitlab.freedesktop.org/freetype/freetype/-/commit/044d142be7b6a93b6940367a1bc5847451ff4775 | ||
|
||
Upstream-Status: Submitted [https://github.com/frankheckenbach/ftgl/pull/19] | ||
Signed-off-by: Khem Raj <[email protected]> | ||
--- | ||
src/FTVectoriser.cpp | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp | ||
index 26e7da8..3610215 100644 | ||
--- a/src/FTVectoriser.cpp | ||
+++ b/src/FTVectoriser.cpp | ||
@@ -168,7 +168,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; |
38 changes: 0 additions & 38 deletions
38
meta-oe/recipes-graphics/ftgl/ftgl/0001-use-pkg-config-to-find-freetype2.patch
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
meta-oe/recipes-graphics/ftgl/ftgl/0002-Makefile.am-remove-useless-and-breaking-code.patch
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
SUMMARY = "OpenGL frontend to Freetype 2" | ||
HOMEPAGE = "https://sourceforge.net/projects/ftgl/" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://COPYING;md5=527a83e92c7bf363025380eec05df6e4" | ||
|
||
inherit autotools pkgconfig features_check | ||
|
||
REQUIRED_DISTRO_FEATURES = "opengl x11" | ||
|
||
DEPENDS += " \ | ||
freetype \ | ||
freeglut \ | ||
" | ||
SRCREV = "ddc77166651a71ae037ef3129a285440aa559b2d" | ||
PV .= "+git" | ||
|
||
SRC_URI = "git://github.com/frankheckenbach/ftgl;protocol=https;branch=master \ | ||
file://0001-Fix-type-mismatch-with-latest-FreeType.patch" | ||
|
||
S = "${WORKDIR}/git" |