From nobody Mon Nov 18 22:52:45 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 4XsjZP2CMDz5dg62; Mon, 18 Nov 2024 22:52:45 +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 4XsjZP1XjPz4Wt9; Mon, 18 Nov 2024 22:52:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731970365; 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=nqY0lsrrUges8c86ba8Jg4Xqg1p9PGnoJtjME0JX5YA=; b=OmkCXAik3wZzcNIQmGMp83uvYCxNlSp3OZ29TIxJaYM3zHI8VYahDUW9o9m9AnojlpkFYR X4Vuo38+Dy41nA0BWMzptDffeNZL+TT5/YtK1Q0ctyfCJS0jodCOzduMLh6HQ2WTFCGqDd jmUpPytwTGZ7/LCwTwU60jf5dfEzCqIbS1JkmCTqCNEK7nOs8V7CO7g8Sshl1TaXmwPjWp LRsYo1FyjsCmuCkO3U1uF7SqUMgmAEJsEB/uimj6ygAoFCQAdpGu/KZTDRryOCKlCaa54Y E8F5LZ4Dtaz8ZzlqqvjgVtMeEazdc6cxw2mzHYwOMVhAF+eSuysi5mNwaoNbgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731970365; 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=nqY0lsrrUges8c86ba8Jg4Xqg1p9PGnoJtjME0JX5YA=; b=BAO5mjf8Vv0G3Ag5FHI4gqY0oo6CgyOixZ5g1N/LN4+X5jnSuskzjHmDZYgtbYAPXbTAfX HiYM7Dz/klQhPCreBzcWbWPCsS1ITRgrYkQVj8JRQe7oVVRGVSBQQ96drtUU9vr+sJ8Su2 13V3ObT3IAIuZAc/4u9klpi74xAfNeJSBFnZgaBeyX1lrMLkn3exc/pUUJhwqA+Vi/pLUc 6VaVfl0JDnEOJ/JQE+a5oblD+YQwlp1SBxjk9MANn0MPK/jWzV4GeFgz+CPA/uBoGjdXG5 9G3htcu8EF2Pp0KTghS6wFIT3oMuk6xDktoDF4sc+huneKHp1x/t4MlTwzbdNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731970365; a=rsa-sha256; cv=none; b=li/3evSo6YRktyOyaeg1QXO1c/7TY1OvE98d8zkfxY2eJUYW5PReZ/1SlWVZmFrxrHw6QQ ANbiu3JSUMMYWRN9nCFHAIW+STAyNvHbL7tHqoeV2SH7lLR7HeC033SLNBHbHEx3ReZ8Zf xIUW1B20ISshzKNwU07gH037y6UxvxamorhfD/2wK4tWf7IllWghfsNcL7qHTGgRQe7QCr +3Owj1O0tdH/2xelLUL/dIsSoOlDsXUYt+8SNZP0uZHmMydcygwzi4iqfDq80sNWTrwAoY VL4tzvJQiqGSpCFZ2pKokYHOIF7rzZCnjBCEn+qJJZSOyGbhEIXT4sQ421Px9A== 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 4XsjZP12wTzyfG; Mon, 18 Nov 2024 22:52:45 +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 4AIMqjmu094590; Mon, 18 Nov 2024 22:52:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AIMqjBt094587; Mon, 18 Nov 2024 22:52:45 GMT (envelope-from git) Date: Mon, 18 Nov 2024 22:52:45 GMT Message-Id: <202411182252.4AIMqjBt094587@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dimitry Andric Subject: git: 2216ea39e937 - 2024Q4 - 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/2024Q4 X-Git-Reftype: branch X-Git-Commit: 2216ea39e937ac6066e2ca788bd477193e05ab47 Auto-Submitted: auto-generated The branch 2024Q4 has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=2216ea39e937ac6066e2ca788bd477193e05ab47 commit 2216ea39e937ac6066e2ca788bd477193e05ab47 Author: Dimitry Andric AuthorDate: 2024-11-18 08:57:47 +0000 Commit: Dimitry Andric CommitDate: 2024-11-18 22:52:33 +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 (cherry picked from commit 822b0e7aebed327a924dc812b43c7cce2b19f7ea) --- 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