From nobody Thu May 25 17:18:16 2023 X-Original-To: dev-commits-ports-all@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 4QRvs45Fwmz4WSqG; Thu, 25 May 2023 17:18:16 +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 4QRvs434qQz3pDt; Thu, 25 May 2023 17:18:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685035096; 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=l0MiBS9bYwF/sQdEbTC8aWvfPsTx6BqU2l5+krJoCCE=; b=vmP6PJvCnpyPDxSU0zGBhm/Wk2gs/S8EIR7OOJVvud4Hm/Xm5DqwxtECo5dMMbHcNoLWGM gsYarJpGEZSldRygliMsle5+6cD6wpyd4OBVrIScUH8CQKY+iFnW6LQbFbwKMlVWQB6f9l uRpd4dTgv4oSvWZd/BvSiZkbF7/nI8T3q8xHXdLIEhpivUXd+8739U+xbGqCklxLPi+sR7 2Vpcq/FhLfrsMBAtLYj1bnxPHGXFG08MNHIDLoSWjuroW3zEScxWuSlw+kmh2WVoUSdq9/ FF5bDqprHBTXFb6QItB36ASyocXTEcV+KldNOAMKDRc/0Pe7icVfAXhZjGs7dQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1685035096; 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=l0MiBS9bYwF/sQdEbTC8aWvfPsTx6BqU2l5+krJoCCE=; b=c5pj6aa6Mc3a3ry2ATHzfJmQoBFPWQiVN1RQoVTzK6BipRFJ1HhJWwB9GvXeYO3r8Tne80 ye0sdYb8q6CLDj3LN9dM0uw6pOp69jxpbO11wO3FUne5Xs1aJCkIZA4ZeMuH8NEnmGu3W/ pR/o2gT7nhZL4SB/xKbGbHXexWmc3r8O+nTgy4re8xYJeB1YVBPF85I5c6kwxibV5NclqN SZZER9uJ9BJg9YqjiQsw5lt0UPgemJBhvpSNPHQSczjH+EJkvmE6uqya38L3Q/zYnkxHkA vkkLZ+fRlfp/fn4a0U4RqVquStH00933QYZ/xGsL6sFcJfQO1SsZe6sCNVNZBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685035096; a=rsa-sha256; cv=none; b=Xt2cwm88V4vVPBb8kjag0dQdkiMKhcfI/2fyWK+OKFQ/N/oDVclPwFWK5cvh/KvhPNGyhF AFerJ2pzNVGPeBSpVa2ZfzX1RZFM7xRUpy3DSZLQg+tlp9LuAQDQ6I21oRFPU3NSGzUUa9 cyXGSY4rDdsveeAV/cBBaSTvmDbmFA0mrax0ElYdXan0Z8RARyN6Q9TZXIFhvr2evIcLiF DgjjCQ3Vn6Jc+jJn/+eDa4SmuSz7CWAMXqhu7CULWisO7gkAa5ALJ4QwAjmTebcOOTxj7f Do+8OxZwE/CIAC0GVCEl6WPE9YLnv6HMXgi3yKmHmL1Wg3gUypDycPFpB/MwtA== 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 4QRvs42BQvzYFb; Thu, 25 May 2023 17:18:16 +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 34PHIGaR044953; Thu, 25 May 2023 17:18:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34PHIG1Y044952; Thu, 25 May 2023 17:18:16 GMT (envelope-from git) Date: Thu, 25 May 2023 17:18:16 GMT Message-Id: <202305251718.34PHIG1Y044952@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: ec2e657d485a - main - x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock. List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: ec2e657d485a1ae0cb1ad1224ccf6b6a7abf05bc Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec2e657d485a1ae0cb1ad1224ccf6b6a7abf05bc commit ec2e657d485a1ae0cb1ad1224ccf6b6a7abf05bc Author: John Baldwin AuthorDate: 2023-05-25 17:17:56 +0000 Commit: John Baldwin CommitDate: 2023-05-25 17:17:56 +0000 x11/nvidia-driver: Use a valid function declaration for nvlink_allocLock. Differential Revision: https://reviews.freebsd.org/D40172 --- x11/nvidia-driver/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile index 068fbcd54683..697c9ed82422 100644 --- a/x11/nvidia-driver/Makefile +++ b/x11/nvidia-driver/Makefile @@ -266,6 +266,9 @@ post-patch: .SILENT ${REINPLACE_CMD} -e '/vm_offset_t address;/s,vm_offset_t ,void *,' \ ${WRKSRC}/src/${NVSRC}/nvidia_subr.c .endif +# Fix a K&R prototype + ${REINPLACE_CMD} -e '/nvlink_allocLock/s,(),(void),' \ + ${WRKSRC}/src/${NVSRC}/nvlink_freebsd.c # Finally, process OPTIONS .if ${PORT_OPTIONS:MFREEBSD_AGP} ${REINPLACE_CMD} -E 's/undef (NV_SUPPORT_OS_AGP)/define \1/' \