From nobody Sun Jul 23 18:45:30 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 4R8C0W2sVsz4pJym; Sun, 23 Jul 2023 18:45:31 +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 4R8C0V5MVFz3tZR; Sun, 23 Jul 2023 18:45:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690137930; 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=2kKtMEIW/ykGi9qcbVZloIXBEjU9CjuzG7f2Spbxn5w=; b=CUsEH9EuSkQQm4vUaLB0CAL9sWeIpcGvEyXvSdj90SxZb/g0bMqlLE+y8eE9NuPD3ehxSM 0BrhHfeq5sewEPBQkYTMawpSl9YdjHVr8+dTm/sNSF5oyOQydgvDwjIEdL4F8HvdWCENzd 8UZmUVSk349dXRCrbx27RHiRnt0+G8MiNDSlHhi7Z9e6jZn0DeJq0TTrVwqnzZMW1goOOu i4x9uTLslCBBzYkHwGCJ8SakbyPWOzUprcLYAt7GKUK6zyZu0lBtpQQAjI/81M0htiyRqm HDENKzYnh3a3eNR0V7wYg0p8CU8YtLUI1PpWelcX8PlBAEgA33l11KkTNTB49g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690137930; 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=2kKtMEIW/ykGi9qcbVZloIXBEjU9CjuzG7f2Spbxn5w=; b=rVgj6JpKsedC1ESrolnTGmJYWUzT9nUKtlk9Fq3xRtNB4CeU0U+PlVvbsX7yLicf9fBYbD TooA8sPlBfvhioS84lFNvzxqxX39KaYkT1xQ1/LMfYKgRUWyAlmPI6xKgHspdzvpplEkof /KojwEDraQ9Ba/FCTuqFO0Zv+TlDAbDrTq+jjFdm1a9gBeRsTLb427X9sc3L3PJp4wWcK4 qdu7l5ZQF2ZC2N9DgSlsrrFXPKRVnFipu4xawhVs5iy88bsA/bjiN+CQ+38fy74TmlV9tT FPYR63kCkUPPUK37GoH7I5pleA/ZxMwhrhZVhqO8D3HB6XHVvHTQCxSNLKL5JQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690137930; a=rsa-sha256; cv=none; b=M+ijhZ7mvQXhNV54cJLsfLc/pQ8KwRpuC/gzg+P9Ge16BWHc4o/IfzmQtI5krgiwWunO0V 8ybNNIKcZk3+TsOYwSshUwgcC2WSbP6KYmVconh1UHNqoqi81z0WGNt5rxOWizg4EB2J5D yOe1LAq7LOQQCh0fUgdBVLaYajm259YmU4lbNwe8+0Q11SibHPk5n+JIVKb9HJOcgxyb7D YnyvVD4Gews8zO8fc7LN3kQOPl0jWngtpiW8PNqqFq3csMuwkNZ4oIKozJAc9q3VAVke8L 2s5wUoJc2eY+n6oWWeCXMY4znApfnqANJVnt7hZYgTWJBpMCI6pAEJEcJXGnTA== 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 4R8C0V2zZpzn6V; Sun, 23 Jul 2023 18:45:30 +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 36NIjUoF091508; Sun, 23 Jul 2023 18:45:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36NIjUTE091507; Sun, 23 Jul 2023 18:45:30 GMT (envelope-from git) Date: Sun, 23 Jul 2023 18:45:30 GMT Message-Id: <202307231845.36NIjUTE091507@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: 63869654cb02 - main - net-mgmt/sysmon: Fix build with llvm16 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: 63869654cb0293fa588e5d0a0346fc89629a8346 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=63869654cb0293fa588e5d0a0346fc89629a8346 commit 63869654cb0293fa588e5d0a0346fc89629a8346 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-23 18:27:44 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-23 18:45:16 +0000 net-mgmt/sysmon: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net-mgmt/sysmon/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/net-mgmt/sysmon/Makefile b/net-mgmt/sysmon/Makefile index ac4dd1f64942..cba5b6485a22 100644 --- a/net-mgmt/sysmon/Makefile +++ b/net-mgmt/sysmon/Makefile @@ -11,9 +11,10 @@ WWW= https://puck.nether.net/sysmon/ LICENSE= GPLv2 -GNU_CONFIGURE= yes USES= alias ssl +GNU_CONFIGURE= yes + OPTIONS_DEFINE= DOCS DOCS= Changes.html binaries.html config.html docs.html index.html \ @@ -21,6 +22,12 @@ DOCS= Changes.html binaries.html config.html docs.html index.html \ sysmon.man.html reporting.xml-spec.txt MANPAGE= sysmon.man.8 sysmon.conf.man.8 +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmon ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/src/sysmond ${STAGEDIR}${PREFIX}/bin @@ -30,6 +37,8 @@ do-install: .for man in ${MANPAGE} ${INSTALL_MAN} ${WRKSRC}/docs/${man:S/.8//} ${STAGEDIR}${MANPREFIX}/man/man8/${man} .endfor + +do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/docs/${doc} ${STAGEDIR}${DOCSDIR}