From nobody Mon Nov 18 22:52:11 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 4XsjYl3YTrz5dgTW; Mon, 18 Nov 2024 22:52:11 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XsjYl1QfMz4Wnx; Mon, 18 Nov 2024 22:52:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731970331; 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=sFYrV215f1/56M0NOV47GWnKuXebVOdBv8KW3y3SYbo=; b=aXSi6E5S2Rem1CrBXcj0phfMxCL4F3SkrPzi3WvwJ+VsbDG2okeNMbsrxkPkp6UOpHaz0u wA6ZvplPMJPUZDAj1bMKdPhJx1ehIMDTfVO7y6hc6Vk5/LK6ZLwuKFrt6XNWKIFtmSDxIm rOdQwGt33uym15CcQxSi3a6miDy5wFFAuQm6wyDadvd+OFQuGOmLpRcAI5CzHZcTV6Fum6 INfq+CxqfX0/vJe2EhWBau9dK+O2ci2T08Ua6SbDPP14264WPYVheXqo2AnnM4wYB8V6j1 MrHmI4QyY8+pSk5mc72/QX7ZoFiQZXNulyUTSK6mbJ4ro5n85B4e+h5ESy74bw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731970331; 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=sFYrV215f1/56M0NOV47GWnKuXebVOdBv8KW3y3SYbo=; b=qC+HCOEOiAR0LMeHQCzfwXiBXrUoNK8cqn/zmSSLzVJp6qa6QrBTbeRlIMgTOay/4Ifqqj 2WN83AgfRF/nTelaTl51Jzs+YVd/4aN93rghooiPNrcS2fcnPbFTdYQvZ+XZOQhoZIqHzd 0OffTKBYhOwt4E2Ahu8FosoK1vBAmMSiC96p2yAKrLmdWVOv0myeWQ5Z5u+0nraniC2+JJ l0akVdAVW5NDkiE1IdCgJP2rfvd3WPzWmpWUueacM4SKypFzqQVW8pIyMMUp9Du2NKPOFY 695xu8IUkf84VWyhgBuhbMuFn1vlO2HdvuN+z2BV3Tt+bTR/eVV7xHL3imEJYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731970331; a=rsa-sha256; cv=none; b=uhgFjqB9Sn+cU4ojTV8LAneq2qsorgFs5V8oq9+WIIGLq0LJ7yZVDZpBEmxh5TVsK5mAFw Y9Saeg1eFix5lYXIPH2asCmWBgZASV6r/w77aPs4Sf2jYeOl/WJlNN3rAP9PWHKIT5868/ r6oi+WQwy9ns3mQWdYHVvkaFzqZodwgoX41OE1z9wpw+xpgjxX8fGt4x8Bw+cAGHXzl8/7 W+NiHtY4sNqhcUofA2wpXB217mijRQhVvmDhewrUBNiW2cH/rbdRusd6bYWotZP58OD2Fn K1TDVj61BUDeFDAaGJew3xkG7505t0uq7PZ3CEjLKauDncR97zc2TAXYSwMeVg== 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 4XsjYl0wpRzyfF; Mon, 18 Nov 2024 22:52:11 +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 4AIMqB8h093177; Mon, 18 Nov 2024 22:52:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AIMqBs7093174; Mon, 18 Nov 2024 22:52:11 GMT (envelope-from git) Date: Mon, 18 Nov 2024 22:52:11 GMT Message-Id: <202411182252.4AIMqBs7093174@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: 822b0e7aebed - main - math/libdivide: fix build with clang 19 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 822b0e7aebed327a924dc812b43c7cce2b19f7ea Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=822b0e7aebed327a924dc812b43c7cce2b19f7ea commit 822b0e7aebed327a924dc812b43c7cce2b19f7ea Author: Dimitry Andric AuthorDate: 2024-11-18 08:57:47 +0000 Commit: Dimitry Andric CommitDate: 2024-11-18 22:51:34 +0000 math/libdivide: fix build with clang 19 Clang 19 has become more strict about errors in member functions, which results in errors building math/libdivide: /wrkdirs/usr/ports/math/libdivide/work/libdivide-5.0/libdivide.h:3020:41: error: no member named 'denom' in 'divider' 3020 | return div.denom.magic == other.denom.magic && div.denom.more == other.denom.more; | ~~~~~ ^ /wrkdirs/usr/ports/math/libdivide/work/libdivide-5.0/libdivide.h:3020:80: error: no member named 'denom' in 'divider' 3020 | return div.denom.magic == other.denom.magic && div.denom.more == other.denom.more; | ~~~~~ ^ The member function `operator==()` should refer to `other.div.denom` instead. Upstream fixed this in https://github.com/ridiculousfish/libdivide/commit/fa020f3, so import it as a patch. PR: 282827 Approved by: thierry (maintainer) MFH: 2024Q4 --- math/libdivide/Makefile | 3 +++ math/libdivide/distinfo | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/math/libdivide/Makefile b/math/libdivide/Makefile index 764f37805bd0..0a6fa1743e9e 100644 --- a/math/libdivide/Makefile +++ b/math/libdivide/Makefile @@ -3,6 +3,9 @@ DISTVERSION= 5.0 PORTREVISION= 1 CATEGORIES= math +PATCH_SITES= https://github.com/ridiculousfish/${PORTNAME}/commit/ +PATCHFILES+= fa020f3b3e7ab3e80a2b23ab70bad0f46dbab795.patch:-p1 # https://github.com/ridiculousfish/libdivide/pull/113 + MAINTAINER= thierry@FreeBSD.org COMMENT= Fast prime counting function implementations WWW= https://libdivide.com/ diff --git a/math/libdivide/distinfo b/math/libdivide/distinfo index ac6777060bdd..50777c6cc211 100644 --- a/math/libdivide/distinfo +++ b/math/libdivide/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1638115355 +TIMESTAMP = 1731919803 SHA256 (ridiculousfish-libdivide-5.0_GH0.tar.gz) = 01ffdf90bc475e42170741d381eb9cfb631d9d7ddac7337368bcd80df8c98356 SIZE (ridiculousfish-libdivide-5.0_GH0.tar.gz) = 680611 +SHA256 (fa020f3b3e7ab3e80a2b23ab70bad0f46dbab795.patch) = 47ed962063ff09c4030a95297803e99b5899795bcaba7630fa3c5e0f80f583dd +SIZE (fa020f3b3e7ab3e80a2b23ab70bad0f46dbab795.patch) = 829