From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/files/, sci-libs/opencascade/
Date: Thu, 12 Dec 2024 11:43:39 +0000 (UTC) [thread overview]
Message-ID: <1734003762.571831d4df1cfbad54de9892d76232ffc9a23e8f.sam@gentoo> (raw)
commit: 571831d4df1cfbad54de9892d76232ffc9a23e8f
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 11:42:42 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 11:42:42 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=571831d4
sci-libs/opencascade: fix build w/ newer freetype
Closes: https://bugs.gentoo.org/939996
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/opencascade-7.8.1-freetype-const.patch | 21 +++++++++++++++++++++
sci-libs/opencascade/opencascade-7.8.1.ebuild | 1 +
2 files changed, 22 insertions(+)
diff --git a/sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch b/sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch
new file mode 100644
index 000000000000..63ac571a407d
--- /dev/null
+++ b/sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch
@@ -0,0 +1,21 @@
+https://bugs.gentoo.org/939996
+https://github.com/Open-Cascade-SAS/OCCT/commit/7236e83dcc1e7284e66dc61e612154617ef715d6
+
+From 7236e83dcc1e7284e66dc61e612154617ef715d6 Mon Sep 17 00:00:00 2001
+From: dpasukhi <dpasukhi@opencascade.com>
+Date: Tue, 27 Aug 2024 11:33:29 +0100
+Subject: [PATCH] 0033808: Coding - FreeType Use unsigned point and contour
+ indexing in `FT_Outline`
+
+Changes to auto instead of specific type
+--- a/src/StdPrs/StdPrs_BRepFont.cxx
++++ b/src/StdPrs/StdPrs_BRepFont.cxx
+@@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::renderGlyph (const Standard_Utf32Char theChar,
+ 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;
diff --git a/sci-libs/opencascade/opencascade-7.8.1.ebuild b/sci-libs/opencascade/opencascade-7.8.1.ebuild
index 3dd89af46c7c..6c495f2484d2 100644
--- a/sci-libs/opencascade/opencascade-7.8.1.ebuild
+++ b/sci-libs/opencascade/opencascade-7.8.1.ebuild
@@ -112,6 +112,7 @@ PATCHES=(
"${FILESDIR}/${PN}-7.8.0-tests.patch"
"${FILESDIR}/${PN}-7.8.0-jemalloc-noexcept.patch"
"${FILESDIR}/${PN}-7.8.1-vtk_components.patch"
+ "${FILESDIR}/${PN}-7.8.1-freetype-const.patch"
)
src_unpack() {
next reply other threads:[~2024-12-12 11:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-12 11:43 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-23 8:34 [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/files/, sci-libs/opencascade/ Sam James
2022-11-25 11:19 Joonas Niilola
2022-01-10 1:04 Sam James
2022-01-10 1:04 Sam James
2021-07-07 20:05 Ionen Wolkens
2021-06-24 10:06 Alexey Shvetsov
2021-02-18 9:36 Joonas Niilola
2021-02-18 9:36 Joonas Niilola
2018-10-27 10:36 Amy Liffey
2017-11-06 1:58 Andreas Sturmlechner
2015-08-11 9:18 Michael Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1734003762.571831d4df1cfbad54de9892d76232ffc9a23e8f.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox