From nobody Mon Jun 12 22:58:44 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 4Qg6Yd102lz4cYZF; Mon, 12 Jun 2023 22:58:45 +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 4Qg6Yd031Hz3DYy; Mon, 12 Jun 2023 22:58:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686610725; 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=4jv8faEAvehksLWARED5yQicvI6VkmmtCcuuIZkIohw=; b=RBhknArewQcBu9rKRkKZs7dh2acj/KIyAtKR0CUu47YHlKio2t4kt8admHmBKExq83iWu9 ElcaVlnua0hjovJQbI1nI9JS9jIx0gPgKWgXRJRZqBEnW0OyDXjlv706HOC+FR4vEOn3+C OiczK3Oqo2Y19CF1V1h6KDc4dDAOlkTgO6Pqndr29BgYYfO+rU81murou34pZz5ku1U0hN 8ClnWmg35vTgG6ZFLEct+UbtUYQwB2H+SEsGyc39P6Mlmqu5eGX/h+gGHVmitoTI1e9tWz nevuc5Jy7geZH+RK7hQrEAHVN+qrzmJurWdxvSQMqEDD0LTQ66jneJ3BbgtczQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686610725; 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=4jv8faEAvehksLWARED5yQicvI6VkmmtCcuuIZkIohw=; b=ko1qPcj7zrNgd88sFJ7oWwnTIi5eGTRg3liy5p4JILZNxtqbjtGPU3j/qh4snq38sAoTlA EK4966aW2WXhbtzCdVeVyaKGuqNfFQH8au/pCX30rtDT6lBk3dQvwyXyjOgp8hiiIWOG2u Em0leVfqfcSlKZ4ohFBdnrLS84it1eFKJPno13qgARfz+LKd27gy5smHIABwHwi9EGDUya 3oORsQtsFcWdDR5Cc1ldVoFrdUyQrh7CHN5XWxi9xEgogJ7dGm0Mq6wfuYuG5LGOmgje6Q eVcMIAJNiR7N62gUFZmuw95caMO5UADJyBloxR4tFROkthPHwwu2Lk/MydYQGQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686610725; a=rsa-sha256; cv=none; b=cF/bOH5tgGthWfYulF7gZRIFFg1Tp0f3ueYpcosatJGRwinQMq3CS+PDK7aRMpI8N8PEQt f3c2xQMeShrpW539jLDha+X4LeM7decsrTzXBBe+DAON0OnFQncfSl7Vf8BFw1or7EfUvY 7BIzuQ/l0mIkMNaVxbntIYs+vvb7dLHZoV00J//8luwgocvyGS2iMnPgyQbU5tFTrULUEM EIqu79JHZcKxqwW9C3brsdNBBrkQQ6IJs78qhHkIJ6cdWI+FNMHb04b8frwZpE8o3vI/X6 bBVRjA92wOIsNEaVASLV/0v/HgV0uOCh1OQer+1gx9kKem8lvK+Qs9wlpu8iTg== 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 4Qg6Yc61SLzy0l; Mon, 12 Jun 2023 22:58:44 +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 35CMwiYP087242; Mon, 12 Jun 2023 22:58:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35CMwiqj087241; Mon, 12 Jun 2023 22:58:44 GMT (envelope-from git) Date: Mon, 12 Jun 2023 22:58:44 GMT Message-Id: <202306122258.35CMwiqj087241@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 12e0c85984ac - main - net/isboot-kmod: Fix build with llvm15 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 12e0c85984acfd5dce03de0026ca40c319b9ca27 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=12e0c85984acfd5dce03de0026ca40c319b9ca27 commit 12e0c85984acfd5dce03de0026ca40c319b9ca27 Author: Muhammad Moinur Rahman AuthorDate: 2023-06-12 20:08:20 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-06-12 22:58:35 +0000 net/isboot-kmod: Fix build with llvm15 Approved by: portmgr (blanket) --- net/isboot-kmod/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/net/isboot-kmod/Makefile b/net/isboot-kmod/Makefile index 3b6c940efb25..335560346a87 100644 --- a/net/isboot-kmod/Makefile +++ b/net/isboot-kmod/Makefile @@ -12,23 +12,32 @@ LICENSE= BSD2CLAUSE ONLY_FOR_ARCHS= amd64 i386 USES= kmod uidfix - USE_GITHUB= yes GH_ACCOUNT= jnielsendotnet GH_PROJECT= isboot SUB_FILES= pkg-message + WRKSRC_SUBDIR= src + PLIST_FILES= ${KMODDIR}/isboot.ko PORTDOCS= README OPTIONS_DEFINE= DEBUG DOCS VIMAGE OPTIONS_DEFAULT=DOCS VIMAGE + DEBUG_DESC= Enable verbose boot logging -DEBUG_CFLAGS= -DDEBUG -DMODDEBUG -DIBFT_VERBOSE VIMAGE_DESC= Build for a kernel with 'options VIMAGE' + +DEBUG_CFLAGS= -DDEBUG -DMODDEBUG -DIBFT_VERBOSE VIMAGE_CFLAGS= -DVIMAGE +.include + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/.. && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}