From nobody Fri Dec 9 17:11:18 2022 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 4NTHc65cbDz4jmQx; Fri, 9 Dec 2022 17:11:18 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NTHc65CB5z3DZT; Fri, 9 Dec 2022 17:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670605878; 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=/CTRCant1ZDUKRF2qPWQkKUmegoW8blYbOwRr54BtHk=; b=L6dVuYwx5bGJadInkQTNAv1TH29etUFJ8+MmkwpLX0uWi2tHKi41xOBw8svZoNVxoSHF1f mG0vnoM7OANWB7P13a1CbZ2JDLWr5gRI08pF0E7gwgd5WJLeMqvFswjuU9vXb5qRX/gmli gczByrzIgqbH+US0s77lO6K2RkB9oGd3ThpvWanrsKWRIdaFBauDF3hcC7ApQOZOUmY4JR hPj1+z/l5q3RCyqGJ42MhB5rGhBtipiblFzNmrM0E+EvRxdSzWmuYdFx547WV6gL9KPV6H WX8qtpFaN45ZvcPG+/SIx+rrdtV55Cc5RIH8sjPurzp5DaiZgXeVIbyiGxxVXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670605878; 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=/CTRCant1ZDUKRF2qPWQkKUmegoW8blYbOwRr54BtHk=; b=IeOUn2rnRQXqcc97QZRhlw6fasQLxdl1JDXaG1cDvaoPDjh7QRb5B2h4PrmGDdksHKqYT6 QBt9Z+yk7NGbI8Ww7vsZmqr/Zpy7rb3anMv0ozpmj4CPFf1/eozDpWr1X8jeQYsWLLMN5h GUqbCz64Gr78Gj05ySwTALCRdV3Ll7nGaBhuxYK57G1uJ1RTWgUbQGWcrZNe029nLIRyq4 X/+viL7409cS3HaVh3ua+GRttffA1PZSAssjBjUUtkEfx1OGZLUKGYAJUrs7JpmpdbvEP9 lcKDfXgWeY8rRdcrX4Ad4CPEGjm4bswzkBLtLXk5IFPg61PP4dg8Sy/sOf/CmQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670605878; a=rsa-sha256; cv=none; b=ePgCc6FuE/oWLI0DxqMFQqldllFbRkoYIXPPRGtm2o7iUyLONj10xKNvVP5nRraOOzU9g1 ahS595NxLwvuv+HqZGXf/HaT2yRZpIhOuasPoIDERC/8AWhrMugKZ9nNo/FHBJctysWIbK Zwd2OQ9/7Zp2FtPzF/FVshYA51bqtRpbw3FS1fVamUyonEK/PjmDZ7v5gQ6sL8FXQFS0mP TpViWphIqyFftNGKPBJOVuBL7+FQnPRY+lIHk0pldDgIt/V74Gzdo2Z42z+1QKNXff+Hbz AO8QCPHxOklej5tPJSa5XX8Tk2tOZ2EtOYCfAyLk4MSr2NEW4z7L6DgwphdH5A== 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 4NTHc64Fw8zk5j; Fri, 9 Dec 2022 17:11:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2B9HBIxx011271; Fri, 9 Dec 2022 17:11:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2B9HBIMu011270; Fri, 9 Dec 2022 17:11:18 GMT (envelope-from git) Date: Fri, 9 Dec 2022 17:11:18 GMT Message-Id: <202212091711.2B9HBIMu011270@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Michael Gmelin Subject: git: 73084fa85ffd - main - sysutils/pftop: Fix build with clang 15 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: grembo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 73084fa85ffdf454d0a1348d17a6e772c22e7b28 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by grembo: URL: https://cgit.FreeBSD.org/ports/commit/?id=73084fa85ffdf454d0a1348d17a6e772c22e7b28 commit 73084fa85ffdf454d0a1348d17a6e772c22e7b28 Author: Dimitry Andric AuthorDate: 2022-12-09 17:02:29 +0000 Commit: Michael Gmelin CommitDate: 2022-12-09 17:06:53 +0000 sysutils/pftop: Fix build with clang 15 PR: 268209 --- sysutils/pftop/Makefile | 1 + sysutils/pftop/files/extra-patch-pftop.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index 9794f4a81acf..73cf4707a070 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -1,5 +1,6 @@ PORTNAME= pftop PORTVERSION= 0.8 +PORTREVISION= 1 CATEGORIES= sysutils net MAINTAINER= grembo@FreeBSD.org diff --git a/sysutils/pftop/files/extra-patch-pftop.c b/sysutils/pftop/files/extra-patch-pftop.c index 0ce7c8ffd2b4..e22198745b33 100644 --- a/sysutils/pftop/files/extra-patch-pftop.c +++ b/sysutils/pftop/files/extra-patch-pftop.c @@ -343,7 +343,7 @@ $OpenBSD: patch-pftop_c,v 1.12 2009/12/02 21:16:10 sthen Exp $ #endif #ifdef HAVE_RULE_STATES +#ifdef HAVE_PFSYNC_KEY -+ print_fld_size(FLD_STATS, pr->states_tot); ++ print_fld_size(FLD_STATS, *pr->states_tot); +#else print_fld_size(FLD_STATS, pr->states); #endif