From nobody Mon Apr 25 14:28:20 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 F301C1997422; Mon, 25 Apr 2022 14:28:21 +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 4Kn6nK1J1pz3F2f; Mon, 25 Apr 2022 14:28:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650896901; 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=K6co/kS69UOEOBLaIk0U8s3JD3XrJJFAySexwKTcoh4=; b=KQhJpkdqH/1KJu2u8pl8gp7PKR83qfycmPokswbDGBJGSJNYI87MBPzysc1o68cHhv5Xbl 9QOtZrvV/i85ab/gae25k+ixZ/CE/jmOMx4rSeGXaOHwrz9HzFYL3WWCQLBe+LftpR1qaj MFk1IYZaGMktwGMayIU8s7mPOFTr6Q3Bn7DOatkGDvkTFCxMws4Y7s9xui9Nsu0xFDbr9r r3KRauE188b9lR2l6e6RrbxQQPQ7hXElev8bB8/DjIvLgxMj6Cag3emL5mgt58KpfQR1Kc WyFvHxgzVbksNLEHdHPxSlsDwm/5upcl+n9PF0o8+fDnJbOD7ZT/Wa+JwXu6Pg== 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 4A8191C786; Mon, 25 Apr 2022 14:28:20 +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 23PESKbj033530; Mon, 25 Apr 2022 14:28:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23PESKMI033529; Mon, 25 Apr 2022 14:28:20 GMT (envelope-from git) Date: Mon, 25 Apr 2022 14:28:20 GMT Message-Id: <202204251428.23PESKMI033529@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: 0050903c695a - main - net-mgmt/aircrack-ng: correct hwcaps type 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: 0050903c695a7e5c9f8f5c1b639faec2824d8356 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650896901; 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=K6co/kS69UOEOBLaIk0U8s3JD3XrJJFAySexwKTcoh4=; b=ABlNxX27LCbk+lgMSYuT1/YqKgPrQjaCGPzi89poFFbtU40JNqD6rX5w9knGoGsLTVDXOW FPLi5Ohp+r3VSts9U4H2bsICPYKyjF//9ZqmzuBP6U2ASALaAIEQfL0afv1icmIXfD58uN uea//oW/RgOfCTnCXDvqh4pQinEfs/frEkY94zLI40MnjMc+HCknYcQMekLAxvErgpRJKe yyC0nMg/efEQV+Tc2OgQ0OL8+KWTR7x9CDW7mHkLvckva83R81LmPLX5iAN5gBHQuEvBZU HldkmM+a5iO+mE4rx//Na1qFBMT/NSgwcD8VvouAebl4Dv7tnmz07Bish124qg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650896901; a=rsa-sha256; cv=none; b=XVrd4stVH/bsN2sFDRedr4jgBx+7dXiv5NjjNIH+V+e+nfo0Qed9uikpAeqOm5lBxM1XHD aFlOUfMXPsxFkeganFxKrEFZ3OK7OquV5x85WJdH2rb6C8Sblo6EwblClVnuT86URaBFyb jhskcWhvUG7/W3UXfixZV4uzFoL7bvY4SZx3xFf196r/vT8X2hD5UeYCTHnfqPEp9ZNRq8 RluTCqOteeb0ogFeJkeRwSdwudyN+5Ar2IJY8Iyj6NrhqyqclUNvDSn5er793jhKBCNSD/ kWVI4kNpBfE3vy/3ybLVFpqGo0rh7hZwKd2fiOKcnfBc3jwsu3/mIWw15HpP5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0050903c695a7e5c9f8f5c1b639faec2824d8356 commit 0050903c695a7e5c9f8f5c1b639faec2824d8356 Author: Piotr Kubaj AuthorDate: 2022-04-25 14:12:37 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-25 14:12:37 +0000 net-mgmt/aircrack-ng: correct hwcaps type According to elf_aux_info(3), it's u_long. --- net-mgmt/aircrack-ng/Makefile | 2 +- net-mgmt/aircrack-ng/files/patch-src_aircrack-util_trampoline__ppc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-mgmt/aircrack-ng/Makefile b/net-mgmt/aircrack-ng/Makefile index e5ba79395193..5273c444a7d2 100644 --- a/net-mgmt/aircrack-ng/Makefile +++ b/net-mgmt/aircrack-ng/Makefile @@ -2,7 +2,7 @@ PORTNAME= aircrack-ng DISTVERSION= 1.5.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt security MASTER_SITES= http://download.aircrack-ng.org/ diff --git a/net-mgmt/aircrack-ng/files/patch-src_aircrack-util_trampoline__ppc.c b/net-mgmt/aircrack-ng/files/patch-src_aircrack-util_trampoline__ppc.c index 038f3065011d..a71ea2e87339 100644 --- a/net-mgmt/aircrack-ng/files/patch-src_aircrack-util_trampoline__ppc.c +++ b/net-mgmt/aircrack-ng/files/patch-src_aircrack-util_trampoline__ppc.c @@ -18,7 +18,7 @@ +#ifndef __FreeBSD__ long hwcaps = getauxval(AT_HWCAP2); +#else -+ long hwcaps; ++ u_long hwcaps; + elf_aux_info(AT_HWCAP2, &hwcaps, sizeof(hwcaps)); +#endif