From nobody Sun Jan 12 21:43:52 2025 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 4YWTRZ18jzz5jspm; Sun, 12 Jan 2025 21:43:54 +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 4YWTRY2C2sz4fwK; Sun, 12 Jan 2025 21:43:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718233; 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=hB4DxJ3tQH/oQxyR5GApkP5gr8iESPAUUEdr+5q11pI=; b=ZqO5YoeDsViSRPDZG6X1AALhwATnfl/2UHFn9oL6uOKSe6VP23/j4NXjplfrOlsPoedust tlIl12h7GF/XixQzUwoCgLzY1YjntbXICCkat9OGKurDJf3LztU0NQyFMtT5EAF/8wiZhN VDtTARzILpR4PcZ870RDq8JK+syh7hFwZqYTPC/TzIbuq6J/PlameZ89BcRr2ksoP3PVln 6U+fckHSAxnIoTdu+nFtSQfPTzBPeVConIKb7ia0dk88TseQarYMrK0TiJT6l4giDyJ8vA luZ6r8hGg+JiD9PGP94Ga/r+B7lztoG64kuVrg8/nFz1yAUJrqiR5H2SIx1aRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736718233; 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=hB4DxJ3tQH/oQxyR5GApkP5gr8iESPAUUEdr+5q11pI=; b=EEjnSmZYwNPRTOA0EkAWZ91VuuAJoB2kljORPWCK50yG6YYA09hRQdCc5X6dCPxRsFISSU EBenoFiWa1p3A7N1OsSWxn6ZZyq3VB+xzo6ZSLat6Lv6xdFAgcebBGAiBqcxLeNLN0ohyp Ge3lwlBRQwkXei4INn/xiuUJ5vMpGUgM83k7sDKUnii55nfyNGbLp68OE7vCTrPOMvAkRa /lWw5WFcg4+yIhze6A6WGPG//eSAEJT1+w+QNjoPmIY5E4raXGagutRazoFGNbL+x3fAjH FuPuMt3a9r9u7pEQYTPnk5rnEiq5RMla0Bk0l3KPjJ2PFbKNPwHdbhqoy4nqFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736718233; a=rsa-sha256; cv=none; b=Tn+5phxCJYLOMM3K9Enm+gz6QtYVhtM8cuoWFybjgp1pJcV7kZTQlsx1e3cHxg60mQByME NpFQL6viEDrMotwFmskhFQk8T7KdedtgNxp7dqBOIFctyfsX83Br3zCl2QJQtHsgwbaCt8 WcyCx9QI83S/tehgrKfxTzSQQeqmm5ZX5MKrW7w3owPqtHBMs1damACVxUPW+UmMxiKCR3 7vQ2sOawnTOXGxOBRbEV2Ux46JzNKeuF7+AbV3Se585E+yofHib/VJhSEJkcFj0Y90E4Ga 0PXjrG1TvDh139XZGgvSFzbQD+ChK+lSzF46NnN+Ncixi8iBcBVuQbmHu2KTZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YWTRX4X90z12ch; Sun, 12 Jan 2025 21:43:52 +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 50CLhqAS098695; Sun, 12 Jan 2025 21:43:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50CLhqx2098692; Sun, 12 Jan 2025 21:43:52 GMT (envelope-from git) Date: Sun, 12 Jan 2025 21:43:52 GMT Message-Id: <202501122143.50CLhqx2098692@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: aa03dfb264bc - main - net-mgmt/tcptrack: fix build on armv7 / powerpc 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aa03dfb264bc2862bb124fbed737adf331622fdd Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=aa03dfb264bc2862bb124fbed737adf331622fdd commit aa03dfb264bc2862bb124fbed737adf331622fdd Author: Piotr Kubaj AuthorDate: 2025-01-12 16:19:01 +0000 Commit: Piotr Kubaj CommitDate: 2025-01-12 21:41:57 +0000 net-mgmt/tcptrack: fix build on armv7 / powerpc TextUI.cc:306:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] 306 | printw("%ds",ic->getIdleSeconds()); | ~~ ^~~~~~~~~~~~~~~~~~~~ | %lld TextUI.cc:308:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] 308 | printw("%dm",ic->getIdleSeconds()/60); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~ | %lld TextUI.cc:310:17: error: format specifies type 'int' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] 310 | printw("%dh",ic->getIdleSeconds()/3600); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %lld 3 errors generated. --- net-mgmt/tcptrack/files/patch-no-stack-limits | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net-mgmt/tcptrack/files/patch-no-stack-limits b/net-mgmt/tcptrack/files/patch-no-stack-limits index e58660ed957d..0f74a38e2a4b 100644 --- a/net-mgmt/tcptrack/files/patch-no-stack-limits +++ b/net-mgmt/tcptrack/files/patch-no-stack-limits @@ -158,3 +158,18 @@ too low). + if (pthread_create(&displayer_tid, NULL, displayer_thread_func, this) != 0) throw GenericError("pthread_create() returned an error."); +@@ -309,11 +303,11 @@ + + move(row,58); + if( ic->getIdleSeconds() < 60 ) +- printw("%ds",ic->getIdleSeconds()); ++ printw("%ds",(int)(ic->getIdleSeconds())); + else if( ic->getIdleSeconds() > 59 ) +- printw("%dm",ic->getIdleSeconds()/60); ++ printw("%dm",(int)(ic->getIdleSeconds())/60); + else if( ic->getIdleSeconds() > 3559 ) +- printw("%dh",ic->getIdleSeconds()/3600); ++ printw("%dh",(int)(ic->getIdleSeconds())/3600); + + move(row,63); + if( ic->activityToggle() )