From nobody Sun Oct 20 09:59:26 2024 X-Original-To: dev-commits-ports-main@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 4XWYnV5dk0z5Ypy5; Sun, 20 Oct 2024 09:59:26 +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 4XWYnV534Yz4PYp; Sun, 20 Oct 2024 09:59:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729418366; 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=Zc0M1AbMNxbY1DwtRetgsjscbWqhzPXLLtEE/iBwF0I=; b=Kz5+XkRO6IUWOjNZhaX1DJVJsUCnbOPLQV6qRWftuSKW9Jjy0ZX29Yto1GhYMKQvJbdVCY GALNtKk0zULAm8FQjciuCSQT81V78wxWonOyGJH+GHJju3WQcjei2IRkjQSU7tsnuX6ZUe DVa3uizFO/rRK668b7Kw7OPOQ9dolsiJCMwGNvKNxOU4TLvpeYPRspqSUI0pZGRlgL8ZvQ VVT7uVINK8NhgaDyaSEVbVy86dV6A9gAnLYBR6HcLiH3/cUXrpq+OhhiLkTg7rnclRYPVe 64jBotZuO5CunSd4aOx4SgJg0q+H9wMeov7g3JT8GlLoOWgjN2RyTubksMb6IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729418366; 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=Zc0M1AbMNxbY1DwtRetgsjscbWqhzPXLLtEE/iBwF0I=; b=eSgXYxM3+9Mrz3zB89YNQUAN9gvIH5G8B3hcRqpGi9pvjEyzTZqvmnOPfXW1jRaFgegL9S tv5i3szU09gv7npi1pm89T0h5KwIPo8EDJkL/z4QxhaMVo5WDbUCVevYjQXcOE+RB25+Yj W9j0Z6JzozB7/s2fAF0mVM8rtQTJAGUkTm65S1F5EDa91zcQ9ubkrXWvACGyW9NXAvyhEn KzDlzACOZoyOAcYOVGux99clKT8N/EOMuT5h90bmBnrWBlLydlJ0UA1L6GBR4+YQXOULYI Cvo25bZYS+PadaI1WsTEL+qSZNaGoH9f9fZOCiqpPbvt9m4jK2Aod2UzPimVCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729418366; a=rsa-sha256; cv=none; b=q+NNmMJDp20NoipKQNcsW8bHd1Av/KqOtuZVUo9hTCWoTO4LpG+kyp0Ez5u01dOsYEIEfX gLvLFJv5cvsHm8FDfm/nB3hWqZCVqwWCriwtwS1jNuQ/V+pk5q6x/040niFpsoGmj2nygQ olckbPzajlXtyoT2hn2QI3LaXPCceCUTuOFrUFuns7ltjY1OHeh/HY7OYHLODGL8OBtWQC OVe288qyHyG0Nr/rk64dvqjSlOsq7for/9UMwOJlwGwEmloVcvOOLuMcjqJZJ5LS3wbd6x JzH4sacDbelgez7fqDnxCdorcHDQcJnq3OYoEXfOBKQKfi+dGrRZIm/Y15lOIw== 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 4XWYnV4WDYzx8q; Sun, 20 Oct 2024 09:59:26 +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 49K9xQrb098684; Sun, 20 Oct 2024 09:59:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49K9xQQQ098681; Sun, 20 Oct 2024 09:59:26 GMT (envelope-from git) Date: Sun, 20 Oct 2024 09:59:26 GMT Message-Id: <202410200959.49K9xQQQ098681@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 8cf728289caf - main - multimedia/mjpegtools: fix build with clang 19 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8cf728289caf3a06b225866707277d5ff170dff0 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cf728289caf3a06b225866707277d5ff170dff0 commit 8cf728289caf3a06b225866707277d5ff170dff0 Author: Dimitry Andric AuthorDate: 2024-10-06 09:50:53 +0000 Commit: Dimitry Andric CommitDate: 2024-10-20 09:58:58 +0000 multimedia/mjpegtools: fix build with clang 19 Clang 19 has become more strict about errors in member functions, which results in errors building multimedia/mjpegtools: ./Region2D.hh:439:13: error: no member named 'DoesContainPoint' in 'Region2D' 439 | || this->DoesContainPoint (rHere.m_tnY, tnX))) | ~~~~ ^ ./Region2D.hh:446:22: error: no member named 'Begin' in 'Region2D' 446 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ~~~~ ^ ./Region2D.hh:446:47: error: no member named 'End' in 'Region2D' 446 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ~~~~ ^ ./Region2D.hh:549:14: error: no member named 'DoesContainPoint' in 'Region2D' 549 | && !this->DoesContainPoint (rHere.m_tnY, tnX)) | ~~~~ ^ ./Region2D.hh:556:22: error: no member named 'Begin' in 'Region2D' 556 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ~~~~ ^ ./Region2D.hh:556:47: error: no member named 'End' in 'Region2D' 556 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ~~~~ ^ ./Region2D.hh:635:16: error: no member named 'DoesContainPoint' in 'Region2D' 635 | if (!(this->DoesContainPoint (rHere.m_tnY, tnX) | ~~~~ ^ ./Region2D.hh:643:22: error: no member named 'Begin' in 'Region2D' 643 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ~~~~ ^ ./Region2D.hh:643:47: error: no member named 'End' in 'Region2D' 643 | for (itHere = this->Begin(); itHere != this->End(); ++itHere) | ~~~~ ^ The member functions `DoesContainPoint`, `Begin` and `End` are all commented out in Region2D.hh, probably because the code was never finished up properly. The member functions referencing them are also never used, so comment those out too, using `#if 0`, `#endif` pairs. PR: 281887 Approved by: maintainer timeout (2 weeks) MFH: 2024Q4 --- .../mjpegtools/files/patch-y4mdenoise_Region2D.hh | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/multimedia/mjpegtools/files/patch-y4mdenoise_Region2D.hh b/multimedia/mjpegtools/files/patch-y4mdenoise_Region2D.hh new file mode 100644 index 000000000000..51d5f1420de8 --- /dev/null +++ b/multimedia/mjpegtools/files/patch-y4mdenoise_Region2D.hh @@ -0,0 +1,34 @@ +--- y4mdenoise/Region2D.hh.orig 2021-09-05 06:14:13 UTC ++++ y4mdenoise/Region2D.hh +@@ -404,6 +404,7 @@ Region2D::~Region2D() + + + ++#if 0 + // Add the given horizontal extent to the region. + template + template +@@ -480,6 +481,7 @@ error: + PrintRegion (a_rTemp); + assert (false); + } ++#endif + + + +@@ -513,6 +515,7 @@ Region2D::Union (Status_t &a_reStatus, + + + ++#if 0 + // Make the current region represent the union between itself + // and the other given region. + template +@@ -686,6 +689,7 @@ error: + PrintRegion (a_rTemp); + assert (false); + } ++#endif + + +