From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 245CB1581F0 for ; Thu, 12 Dec 2024 11:43:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B7BA7E0A9E; Thu, 12 Dec 2024 11:43:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E7A30E0A9B for ; Thu, 12 Dec 2024 11:43:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5C8F340DE6 for ; Thu, 12 Dec 2024 11:43:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48606159E for ; Thu, 12 Dec 2024 11:43:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1734003762.571831d4df1cfbad54de9892d76232ffc9a23e8f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/opencascade/files/, sci-libs/opencascade/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/opencascade/files/opencascade-7.8.1-freetype-const.patch sci-libs/opencascade/opencascade-7.8.1.ebuild X-VCS-Directories: sci-libs/opencascade/ sci-libs/opencascade/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 571831d4df1cfbad54de9892d76232ffc9a23e8f X-VCS-Branch: master Date: Thu, 12 Dec 2024 11:43:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1296ed75-fd2f-4b71-9eb9-0f909816067f X-Archives-Hash: b1d2fbb91e1d2d210f3d8da80587859f commit: 571831d4df1cfbad54de9892d76232ffc9a23e8f Author: Sam James gentoo org> AuthorDate: Thu Dec 12 11:42:42 2024 +0000 Commit: Sam James gentoo 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 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 +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() {