From nobody Tue Sep 17 18:59:19 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4X7WKg2tZPz5VfGk; Tue, 17 Sep 2024 18:59:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7WKg1N5Pz40dZ; Tue, 17 Sep 2024 18:59:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726599559; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HbeGsuKjsVG3guVFtTngTDIUjDoKwOzcM9hOjh/oUBg=; b=Rw2N9o7Wd5d5w3XcYcJEFmKSRfrXnGjXxWai+pLqvy6MTnglxu102JQKXUGdId/7bdUwD7 VW4cDK3VhOg7BuaT5Ly74QKa9pkXFu7wZAVv6ROlFM6ZCkxAJwbyGTOP9RTHwH49ASZzUq QSyHENbk+V0Hnf3a/z2f4eyw6BkKKIKJpo+FxWKknQR0V7aQtMpg+wq+afgid8oxTx93af 7tDuyKpTeuURv53cTZ54YoWPF7QOKwI2ypMxuHazEtTAJVLx75gCEqwNKqMfrdseHa1nQR 2zPBX0U6DlU0fplZLu2F+Pa+jLkRtG/TQjUXD6shnB65DFA6unCMjvvz7bKkaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726599559; a=rsa-sha256; cv=none; b=EOhO0Ecjz6GKIjHjpDJGiP6kJTHhhfBxhVArdeW1hvlOliAHuk5jQvpWyw5aIglDk718Rj 9z6SA3wBJ4WhabsKTseOh4wIl1yEt8xTZFh7X+WNbzqI1lOHfxowgckYdDvdeGuMG+EQhg hSVRxnSDvXj17LSlv2uV0V4eD2DtT/znT/3HjOGgFT1CnrQ3G8xzyYt+K1H7gHHu32QqOw LGymp9z0YTIPFmcen1DWUcnJFp2RBxkxH7TUukNZ8JVUZKm8SvmfrofgfjXtVFBwDwrUjH mnstemtHyaDsu1SPmyjxoBo1zih9XvAowlcyUQqh/J5mAy5hDdD1XsPkMrBqxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726599559; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HbeGsuKjsVG3guVFtTngTDIUjDoKwOzcM9hOjh/oUBg=; b=vcdtGk+wXvs5d2xoWOVGpSaUz3DTQ5bSc3LyZCLe/+C01M0RUSx5dqu8E9W01dgdyZDzNh 9SXkwKIrzmHcqfUtXM311egxnS+z41wjFvPH0+/+beseypKqb8yOhbWc4oOIlKLkAOmi+t +j059BHSKZMRiRzFHq7RacQb/4afvVfeMVsgDsqAHK9thfkdb3b9d+piX+CfeYx7/di7S2 M8hbBglSV2Waw7+Qusx9ogo4phurD3TkIXNEx34rcXNMUd9AMvSFYX295uSWprPMivZSCn 6mLRMq3SbOOeXJ7Fdjw7LCGkxvUMCbZ8N7ZAxFj383zpNvRHCWbsX9YuzGwKZQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X7WKg10H5zqgK; Tue, 17 Sep 2024 18:59:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48HIxJFv072114; Tue, 17 Sep 2024 18:59:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48HIxJ99072111; Tue, 17 Sep 2024 18:59:19 GMT (envelope-from git) Date: Tue, 17 Sep 2024 18:59:19 GMT Message-Id: <202409171859.48HIxJ99072111@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: ce9bbb410c98 - main - cad/opencascade: Fix build with freetype2 2.13.3 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce9bbb410c9818c72e0fc9244b35476a68999bc0 Auto-Submitted: auto-generated The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce9bbb410c9818c72e0fc9244b35476a68999bc0 commit ce9bbb410c9818c72e0fc9244b35476a68999bc0 Author: Dmitry Marakasov AuthorDate: 2024-09-17 18:56:49 +0000 Commit: Daniel Engberg CommitDate: 2024-09-17 18:56:53 +0000 cad/opencascade: Fix build with freetype2 2.13.3 PR: 281316 Approved by: portmgr (blanket, build fix) --- cad/opencascade/Makefile | 2 +- cad/opencascade/files/patch-src_StdPrs_StdPrs__BRepFont.cxx | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/cad/opencascade/Makefile b/cad/opencascade/Makefile index 95688c9d73a7..55438d969124 100644 --- a/cad/opencascade/Makefile +++ b/cad/opencascade/Makefile @@ -1,7 +1,7 @@ PORTNAME= opencascade DISTVERSIONPREFIX= V DISTVERSION= 7_8_1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= cad science DIST_SUBDIR= ${PORTNAME}-${DISTVERSION} diff --git a/cad/opencascade/files/patch-src_StdPrs_StdPrs__BRepFont.cxx b/cad/opencascade/files/patch-src_StdPrs_StdPrs__BRepFont.cxx new file mode 100644 index 000000000000..38f3e922f4ac --- /dev/null +++ b/cad/opencascade/files/patch-src_StdPrs_StdPrs__BRepFont.cxx @@ -0,0 +1,11 @@ +--- src/StdPrs/StdPrs_BRepFont.cxx.orig 2024-03-31 22:05:22 UTC ++++ src/StdPrs/StdPrs_BRepFont.cxx +@@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::renderGlyph (const S + 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;