From nobody Wed Nov 06 15:18:36 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 4Xk83x3TrZz5chdD; Wed, 06 Nov 2024 15:18:37 +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 4Xk83x01JFz4HCD; Wed, 6 Nov 2024 15:18:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730906317; 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=KOVLpoe3oYx4t2I4K3QIwaec6YKv1OrFImovHwBJ988=; b=Mc991ku9vSK5/MjZ4uvgAVWU5PRwOCDdpysarJfmWFazyC3xrCNiLsf7uNhg8VIgmbbsFt pX9CGNCwgC1Iyx6L9PIFSPgemwEOW0+ddMMKtBTo11r1JMccNMYjSEg6qYmX+OTz5df49P xR6OCkceCEfXX0TU2WbHh/i73U/pfPzbA1la4ZO8xB8ce6jQ9gpPzXR0d3aOOlRt6GS/e3 woM2jyvMD+0Jve/qZNOwtBXpVXb7gbJrAv0tiy+x6K4m1TWJ+OxDefpVQHzRfBqLnXQ4yx WvnMM+2HAmlk3yBIZKJrEW0COqw3ljrYmBXSkUFhIRYZSWakSq5ZFNGUY+bW5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730906317; 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=KOVLpoe3oYx4t2I4K3QIwaec6YKv1OrFImovHwBJ988=; b=teFsx5wMhlwdL1zqjtmiFxhPc70D1Olj9nvw0Oxj/x31HEPd5RH6lFmAt0LzrfS4+HTVDh oI2S5Njj4ADBui41ExgGz/I3ethJlH1NeJe8l+yJtpIlD4XZCybVSQ5S4AdWNBidUGz2dg usajMS0fYrXkbI0pCUyKKRGk5tuptHQwJEd8fjfPSqpOCKFA8fJN1m/rY5YNPGoDZwp8L4 dVaDjK9GqovnKw0/bFxdjbUPOIvoR24T18IK8ewpciPcv3pHzQzmZNyqv1MsxPnaMiDlDk OOiv0paI6ZwH6z8X11DH4vJxzYoLwW2edTMjk0PIpPkkc0sxK3cliDZxG9Cm8A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730906317; a=rsa-sha256; cv=none; b=IhNKWojCkU0AdoVO0eL6FeiNA+bVr/tHO24sTDLNyvtF+4k9DIajYyaxRn4ZAzV5neskuK I1u4cjorS6zA3dGyOwlPFrkmL62nyz9KsLdOxipQ6MYdcTMdoHvvbi9nMlUhODsEMYB775 8oLHKsHnxvkOqfVfs2aONl+KoIr/Vwb4PRMbVOU0C4u6m026Ppn0lOr1N9x8wRysakUz6w dZ0yqBKAhGBxMgrO/acxpPYUErUSJNoOdi9z4C9jVgkxgpYhYf+vowRyE49Le9xwf2WekV JLf7GWT0VZa2BcXH7niTb3xoWZ2WxdkKwnYIOjYmvmb01SHDf21IM2NvsA60/w== 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 4Xk83w6hn2z161w; Wed, 6 Nov 2024 15:18:36 +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 4A6FIavA044993; Wed, 6 Nov 2024 15:18:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4A6FIa8g044990; Wed, 6 Nov 2024 15:18:36 GMT (envelope-from git) Date: Wed, 6 Nov 2024 15:18:36 GMT Message-Id: <202411061518.4A6FIa8g044990@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 10004332587e - main - benchmarks/libcpucycles: fix jmpbuf / sigjmpbuf confusion 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: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 10004332587eb2be62e0ea7ee945770489e049e5 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=10004332587eb2be62e0ea7ee945770489e049e5 commit 10004332587eb2be62e0ea7ee945770489e049e5 Author: Robert Clausecker AuthorDate: 2024-11-02 11:35:02 +0000 Commit: Robert Clausecker CommitDate: 2024-11-06 15:14:31 +0000 benchmarks/libcpucycles: fix jmpbuf / sigjmpbuf confusion I forgot to include this patch originally. While the warning is harmless (sigjmp_buf and jmp_buf have the same layout on FreeBSD), it might not be on downstream ports consumers like DragonflyBSD. --- benchmarks/libcpucycles/Makefile | 1 + benchmarks/libcpucycles/files/patch-cpucycles_wrapper.c | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/benchmarks/libcpucycles/Makefile b/benchmarks/libcpucycles/Makefile index d2180fd16f91..4ed732450f6e 100644 --- a/benchmarks/libcpucycles/Makefile +++ b/benchmarks/libcpucycles/Makefile @@ -1,5 +1,6 @@ PORTNAME= libcpucycles DISTVERSION= 20240318 +PORTREVISION= 1 CATEGORIES= benchmarks devel MASTER_SITES= https://cpucycles.cr.yp.to/ diff --git a/benchmarks/libcpucycles/files/patch-cpucycles_wrapper.c b/benchmarks/libcpucycles/files/patch-cpucycles_wrapper.c new file mode 100644 index 000000000000..40c74c029cd0 --- /dev/null +++ b/benchmarks/libcpucycles/files/patch-cpucycles_wrapper.c @@ -0,0 +1,11 @@ +--- cpucycles/wrapper.c.orig 2024-10-29 18:59:34 UTC ++++ cpucycles/wrapper.c +@@ -26,7 +26,7 @@ void cpucycles_tracesetup(void) + tracesetup = 1; + } + +-static jmp_buf crash_jmp; ++static sigjmp_buf crash_jmp; + + static void crash(int s) + {