From nobody Thu Jul 06 09:35:05 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 4QxWbF4VFJz4lFdS; Thu, 6 Jul 2023 09:35:05 +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 4QxWbF435pz3Qv0; Thu, 6 Jul 2023 09:35:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688636105; 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=HBBetx61TRXKPebKX9MpuvOaFjFVyXnTrGuqitkyV8w=; b=au7d38F7tFkBSrqNFCmge5/kSAyUvqAdWIuoPM8aAHvNjWbtCgRvYT8m8vEPJCT3IgPorD LWd/vqTzRCXtAtT4VitVpyysgEa8OKUIaRSybaRUms5wESi95KOwVvip/R2KGgUMAZhaoP whnKttE8fGEGJO/cN4bctpUttvIhGkG60wM91W/9mNrR93xDtsWBY0kIptOPbnOL/l6SA0 plcJgrZzbG219sCQOqlsXHGvsZ0kRhTkL/c3LxARKTWn7Ynvtj1iqMbmA7pim2uQ7wsMNx EuLD5vi6WeeFKQbcVY6Ew07Jl18mEWh3NnjCKuwlAkLxIv0K7rafQdwn8BDtpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688636105; 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=HBBetx61TRXKPebKX9MpuvOaFjFVyXnTrGuqitkyV8w=; b=L5QXJ+8TMCNZQQTctqgYXgnSo5UJrOVp/puLmhLdF6U53e+s94NtRmzLAmyifnmohp+nmA JRo+XbJ0hzifHtlk8uyvQeK0w5lOxruTJ6jcpaq3Y8ibpi1T+jfDChb8TzVV/um5RyBfdE m537O27w6wIh0JfbU5+7K6XiNLCOSc3FUMwy5pSNy9kcpOIOg8l0MLrMlJ+s6VODAXqXTU QhbvYujJCBYs8lh4xam4B5WFDDW47BysRJ2fiTUtcPI0r00uweVDAk940lnMgqRmDpd4Ny s0A3RvtzE8533PSA+Vu4mXTb8RPuNT2+hJI9qCGrkbpMZbr35oB5O5JLJ77jNg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688636105; a=rsa-sha256; cv=none; b=Yn1TGhGfxllk6ctLwLtcDbHrZyApcuF49+N0wJ3gkkccn+TQ1Tak0+icwzaCqdTdoMpJv0 Z6H+YkZnl7Xq0dhJwEs1jIKfODFql8Bv2P7pguToZgivs3P49YCcgahXxSmO1H1MUzQmWg teMZaNcDAoEajMIpsGq1BA5uwe36EeXpdZ44N4p6nntqR31pZ9AXiEL4+LBssXozsayV3P n+Pcs+n8ExD+Tno8/S0WWd4928ZZhcwDIzaGoqUxE8OZK/c7yWB1ceOsN3YqWab/ZYHk2C 9hWspVR2kJT3iyTjikkExskuqSkTifoMSDKh8X00lKunkEVfdfV8WIczjlR+ow== 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 4QxWbF38C8zrM0; Thu, 6 Jul 2023 09:35:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3669Z5UA004339; Thu, 6 Jul 2023 09:35:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3669Z5N6004338; Thu, 6 Jul 2023 09:35:05 GMT (envelope-from git) Date: Thu, 6 Jul 2023 09:35:05 GMT Message-Id: <202307060935.3669Z5N6004338@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: 3bcdf66c83f7 - main - net/intel-iavf-kmod: fix build on main 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: 3bcdf66c83f77df95cf9ab32a48b5ba30f0083da Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=3bcdf66c83f77df95cf9ab32a48b5ba30f0083da commit 3bcdf66c83f77df95cf9ab32a48b5ba30f0083da Author: Piotr Kubaj AuthorDate: 2023-07-06 09:32:50 +0000 Commit: Piotr Kubaj CommitDate: 2023-07-06 09:34:49 +0000 net/intel-iavf-kmod: fix build on main --- net/intel-iavf-kmod/files/patch-if__iavf__iflib.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/net/intel-iavf-kmod/files/patch-if__iavf__iflib.c b/net/intel-iavf-kmod/files/patch-if__iavf__iflib.c new file mode 100644 index 000000000000..2fcb40507f22 --- /dev/null +++ b/net/intel-iavf-kmod/files/patch-if__iavf__iflib.c @@ -0,0 +1,15 @@ +--- if_iavf_iflib.c.orig 2023-07-06 09:26:54 UTC ++++ if_iavf_iflib.c +@@ -130,8 +130,12 @@ static driver_t iavf_driver = { + "iavf", iavf_methods, sizeof(struct iavf_sc), + }; + ++#if __FreeBSD_version >= 1400058 ++DRIVER_MODULE(iavf, pci, iavf_driver, 0, 0); ++#else + devclass_t iavf_devclass; + DRIVER_MODULE(iavf, pci, iavf_driver, iavf_devclass, 0, 0); ++#endif + MODULE_VERSION(iavf, 1); + + MODULE_DEPEND(iavf, pci, 1, 1, 1);