From nobody Wed Jan 04 08:01:22 2023 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 4Nn29b06Kkz2p8cm; Wed, 4 Jan 2023 08:01:23 +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 4Nn29Z6n2Yz4JXL; Wed, 4 Jan 2023 08:01:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672819283; 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=Miv3njBcr3+KjKleEog8CIrpausTse5IU5bQJKhYWxY=; b=wJVljXWUdf2QuwieKiJVJwrFvvsdMpbc2s5GbbQw13dc03ZhVKU3V3Wb5x7rP5cYiTt1jV MlSg4q57PYeIbRfzh1g31PyPiKP6iPv7CNeBo7ZmPf+ZT36OjOFGMRdc0C3EKlwOM9826K 3CI/9XcCNhB44UnVlg19b4EqwPhRcICNvd68cY3Yira6+K20eT3/15UyVZI6Mx6ccsmXt5 V0qHrYdJh+NKeI0IDFlyxUdHvNLUKuFyTFZ9K5yapWb/lIb1pMCw2miLfgG+7vopv8EyOU 92WeFcO991DNEGkdcIWhMUKDBk9A7GwpNZBil06uaMvBn7jMPwKKrRsL/tPqYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672819282; 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=Miv3njBcr3+KjKleEog8CIrpausTse5IU5bQJKhYWxY=; b=meBo2QVExz4AcYgBObHb25MQG9EYBg+QRBial2e0uZMJXAYKihmnTLs9XQXBrGhYldyITc hl328QohHmWJuUytU7hs6ZlLl/1UVWOe2YtqEHAirTWuV9VT7C8ues389fD+XS+FzU1tF5 pQDEtXBrfWYxtZbOMKBwmKm0s+aZgH92Li2tuzph+d4BnwfHcPcjQbAV2xg6+cmTb3hsbr QCA8uoeOySzP7aXdnMKhUvEN97efMgeu8Pb1a4RvFA8PCu1zno0DyWUKTwUExZXp6mPmbK +wzD76H1CmqR2kiU4xxBRQ0nY3n+wv6vZJO+QNakTKZM2tZZf12/hFawrlWFcw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672819282; a=rsa-sha256; cv=none; b=Tf0ANEKnNxcOB7nt08hMOSetNvdZ9yHhJ+67jQ678WuWTv8xmgl7MxKiduvaRlORugOm+7 HYaIweGsGZPZbIopKihI1eXTCL4BadNVA09NVK8Dv3ONRcCG4s3LoVW+3DHc6JPNgcnHh9 Xok97zuFFJskdGEbu1lrOkbrnk5ERe6LBbppGgs4CuXUB7vwf1y++/3kiVyf7kQrVf5FZw WGtHaL94WLvC1PrCqAae8lN0YldgJdQ5WFlc4Kb74wtnoT9BXsp1cuBj4F50qqgS5pTERM buhC8OX+I/HioPS30nsk4dlZBH7N0ZH+RnmxY/LzoSrS7T9dO3oRS/td8h6dVw== 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 4Nn29Z5rknz133t; Wed, 4 Jan 2023 08:01:22 +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 30481MaF027771; Wed, 4 Jan 2023 08:01:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30481MBp027770; Wed, 4 Jan 2023 08:01:22 GMT (envelope-from git) Date: Wed, 4 Jan 2023 08:01:22 GMT Message-Id: <202301040801.30481MBp027770@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: 90068af778de - main - security/openvas: fix build on 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: 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90068af778dee5457e5332e7a8725e0dfab36e9b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=90068af778dee5457e5332e7a8725e0dfab36e9b commit 90068af778dee5457e5332e7a8725e0dfab36e9b Author: Piotr Kubaj AuthorDate: 2023-01-04 07:59:26 +0000 Commit: Piotr Kubaj CommitDate: 2023-01-04 08:00:45 +0000 security/openvas: fix build on powerpc Cast to long long to account for 64-bit time_t. --- security/openvas/files/patch-src_attack.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/security/openvas/files/patch-src_attack.c b/security/openvas/files/patch-src_attack.c new file mode 100644 index 000000000000..2d6e3094ab66 --- /dev/null +++ b/security/openvas/files/patch-src_attack.c @@ -0,0 +1,20 @@ +--- src/attack.c.orig 2023-01-03 21:45:22 UTC ++++ src/attack.c +@@ -1493,13 +1493,13 @@ stop: + + gettimeofday (&now, NULL); + if (test_alive_hosts_only) +- g_message ("Vulnerability scan %s finished in %ld seconds: " ++ g_message ("Vulnerability scan %s finished in %lld seconds: " + "%d alive hosts of %d", +- globals->scan_id, now.tv_sec - then.tv_sec, ++ globals->scan_id, (long long)now.tv_sec - then.tv_sec, + gvm_hosts_count (alive_hosts_list), gvm_hosts_count (hosts)); + else +- g_message ("Vulnerability scan %s finished in %ld seconds: %d hosts", +- globals->scan_id, now.tv_sec - then.tv_sec, ++ g_message ("Vulnerability scan %s finished in %lld seconds: %d hosts", ++ globals->scan_id, (long long)now.tv_sec - then.tv_sec, + gvm_hosts_count (hosts)); + + gvm_hosts_free (hosts);