From nobody Mon Aug 22 18:15:27 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 4MBLBS2HwHz4ZJl9; Mon, 22 Aug 2022 18:15:28 +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 4MBLBR69RLz3YtQ; Mon, 22 Aug 2022 18:15:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661192127; 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=8AtdfbRYVUYYe/RWQ8FIdosWh09yO7zVTzFtXqjaumk=; b=MtntlrF3mep8VBd64+B6SZv5cGgOy96wR10EJQJRadeCXKE7taI2YTCoPqxC/c1NwuKo2G bgWxV2iOMGS6Rk6FK5GxhC3hlXMTVKOmTWEooMB7eS5QLnkgLrr0r2xSrrFHiepzo7y2PF hf9NzlHq3YWLL2J9Pp4x9RyxNhMX23OwlFUeDF0pQ5rex2gdnPz7GZ4rd9+oXBiVgw5suR +Mi1ZrsrbfBbwXJt4JZbcdL5uHnQYJK4qTyFD1+zRFS3nDg48ojWlghMaRDmSHe0mKkso9 a7cIwK+ZU4JaNlboJlNxuITuTnEch+He9BnG2jHS3/HrQ4Pb4wYeHuunCt2vgQ== 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 4MBLBR5FBNz10LX; Mon, 22 Aug 2022 18:15:27 +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 27MIFR8Q011312; Mon, 22 Aug 2022 18:15:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27MIFR8G011311; Mon, 22 Aug 2022 18:15:27 GMT (envelope-from git) Date: Mon, 22 Aug 2022 18:15:27 GMT Message-Id: <202208221815.27MIFR8G011311@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: John Baldwin Subject: git: 379676751127 - main - sysutils/mbgtools: Remove devclass from DRIVER_MODULE on recent 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: jhb X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 37967675112795c7ac25659c2e540dbeb18df3eb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661192127; 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=8AtdfbRYVUYYe/RWQ8FIdosWh09yO7zVTzFtXqjaumk=; b=fwqnZoSGoOqy7WrPbloY5E275Ip5tSuxSa/ol4P0x4NDsf3l5gmSAIL7sdVH0RI0Lwak8J z91Zz3ee8EeXG+kLhFx989libgxp7KSztqgSm1kd+M0sRuqiDIwO1gUy6LG/Psye3oYAvn 2eEajNaiCX9BJAgf0dE9N/BZ4UEp4JLJKiAnmLgQDx4jwk0qPyAMKpvCYCyT+BMzegyzlU vEjZ5wPYaN2DrVe87J2mX19jovBQEPu1rfHXGLGxTQYzj3sZPrHhsEO+/XR/dG4kIGjiXm FXmWe6zng0zAH3BvEcTn6E+LEDX+BVSOx4WSD9H0hpn5CIt0K1+KYX+x3J9xGQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661192127; a=rsa-sha256; cv=none; b=prG3LoyCiXvopQRXZUp4fRBFkUfB6ocixcX5ZC7CqNJzNMgeruj7adtjJ104hlvqfmmzMT AyswpsKuQpA4UmerWC2Zg/efSiyLbhb5c9kGvbKSs2RwpmWZ6afZBQXt+FkOiwECvAxHu8 jKqu+tcA0gvSu7fo4BPwg+cunkyHW7YK93qhOIzTPvOdyARamjxjNKCdfUr24dvBUmKoom sDX1g3n1pf17ZDzYvVtknF04JHMdcZ+qx3PcPS6LS3WJrdtB8xTy5XHxPwzQovIeWulnX9 slWFN0beKYwmS4AfBJxD3VtPTpXlAl//6RBkE4unSSbGNIzWUU+Y443tAOYUrg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb (doc, src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=37967675112795c7ac25659c2e540dbeb18df3eb commit 37967675112795c7ac25659c2e540dbeb18df3eb Author: John Baldwin AuthorDate: 2022-08-22 18:14:12 +0000 Commit: John Baldwin CommitDate: 2022-08-22 18:14:12 +0000 sysutils/mbgtools: Remove devclass from DRIVER_MODULE on recent main. Differential Revision: https://reviews.freebsd.org/D35950 --- sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c b/sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c new file mode 100644 index 000000000000..4383bff6cd38 --- /dev/null +++ b/sysutils/mbgtools/files/patch-mbgclock_mbgclock__main.c @@ -0,0 +1,15 @@ +--- mbgclock/mbgclock_main.c.orig 2022-07-26 17:02:15 UTC ++++ mbgclock/mbgclock_main.c +@@ -585,7 +585,11 @@ static device_method_t mbgclock_methods[] = + + + ++DEFINE_CLASS_0( mbgclock, mbgclock_driver, mbgclock_methods, sizeof( struct mbgclock_softc ) ); ++#if __FreeBSD_version >= 1400058 ++DRIVER_MODULE( mbgclock, pci, mbgclock_driver, 0, 0 ); ++#else + static devclass_t mbgclock_devclass; + +-DEFINE_CLASS_0( mbgclock, mbgclock_driver, mbgclock_methods, sizeof( struct mbgclock_softc ) ); + DRIVER_MODULE( mbgclock, pci, mbgclock_driver, mbgclock_devclass, 0, 0 ); ++#endif