From nobody Thu Jul 20 17:43:23 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 4R6KmD3cDpz4nSQP; Thu, 20 Jul 2023 17:43:24 +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 4R6KmD2Nbjz3MnQ; Thu, 20 Jul 2023 17:43:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689875004; 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=4DtHF3HQZeSFztSCdAHcRynYyLbTmKuRu7F9I5aTNGU=; b=P2W2tL8oxPPEKdIKRRmQbb/SfNcfRq7ko1HbLCnO623v+hB9Ht9i5yrC5BNVoBz13A3B+E iEBe9+SKBJFA538VZ7PvEBhyUgG4zCcQ15l5XcDQyazOpBemzR+QkA5frf4an62xxfix83 LLQRjD5Y6CS2MyaNbyh2MHRhZYJMRnVg/z2+xGlnR8oo2haItkr+SKs9i6ib99PyQYxSlO koAgbwdoPSHxL/XCoqkkiq4UEwVzSHCShL4BwC4fgheyxVhr/MpdUGWGZS5XhzD+EkWjwJ hoinsgccH+6Cb4cOdq5WuC3UIDu3gdMpWFtiPCwJ9bjjg4rlEBil/fzm6Cw/zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689875004; 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=4DtHF3HQZeSFztSCdAHcRynYyLbTmKuRu7F9I5aTNGU=; b=pIuvtbhQoCTOpEolAJ83VwBo18X2hov1W+Udtb5I/LdF9+8ip0AilnInhstbSAsTdffB0/ VwL5xwNKx6jqrCjTPGmvbo+VxCjB3BMi4A69GPtB3wBYz5lk6yVP4fzaKXye3Ddz5U3D4k DWWuBeJErEEDaDrT0fbHfiUGbu8o/289EvccCvK3d9R0rRkfvv2oACGx5mWiRpG+w0mbK6 m45FwJTi5zFBzGrGN0258E2AzNeqMuT+H6nO9dW4fAhVp3X+0B2DaSX/4QyrUBLu55RFq5 VFvu1TkUKJWSuszsXNpafn1XEY42dBU3qzi0Kop87BHImKXyMmXFCQDZRDqsSg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689875004; a=rsa-sha256; cv=none; b=ac8frM51/h4FPbKmOdgnZ158OTyDkW+6w1d9qBkkG6ZFM57hZ3/DP/oY4FMNAMXbNM85K4 xdOjYTzydqhym75FsxbdDp5rQ+Br/saHLBpjI1ywum3kn9C8q1mh7dHM6xEIsTnc9rrp1W SJv1cT+BTs0vDva0/3E+qLpNChwbBUHLrdBlLTir5OCY2FHdqPf+MgtYstgsHkhEvxORT+ SzieZmwFSRLIwwgOQ1J7hPjPYCG2lXQUYPsOYLsQfKedckXHOYKLdxw1FLJZloHOmWHtvj lJtkVgFsPqO6NIUXP1BtshezhXXc+YkBmLyvyz2Ko5b4JuUd2/Ak1x/YOiu+Bg== 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 4R6KmD0kF7zgKJ; Thu, 20 Jul 2023 17:43:24 +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 36KHhNpZ036685; Thu, 20 Jul 2023 17:43:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KHhN6j036684; Thu, 20 Jul 2023 17:43:23 GMT (envelope-from git) Date: Thu, 20 Jul 2023 17:43:23 GMT Message-Id: <202307201743.36KHhN6j036684@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: 31ead562ed65 - main - comms/uird: Fix build with llvm16 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 31ead562ed657bd5e4c1ee8d7ac907d628119725 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=31ead562ed657bd5e4c1ee8d7ac907d628119725 commit 31ead562ed657bd5e4c1ee8d7ac907d628119725 Author: Muhammad Moinur Rahman AuthorDate: 2023-07-20 14:35:15 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-20 17:42:36 +0000 comms/uird: Fix build with llvm16 - Pet portclippy Sponsored by: The FreeBSD Foundation --- comms/uird/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/comms/uird/Makefile b/comms/uird/Makefile index 654b339dff90..b24194d0ead3 100644 --- a/comms/uird/Makefile +++ b/comms/uird/Makefile @@ -10,20 +10,29 @@ WWW= http://kbinstuff.googlepages.com/uirduniversalirreceiverdaemon USES= perl5 gmake tar:tgz -WRKSRC= ${WRKDIR}/${PORTNAME} ALL_TARGET= ${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME} + PLIST_FILES= bin/uird PORTDOCS= Documentation OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e 's|gcc|$${CC}\ $${CFLAGS}|; /strip/d' \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/uird ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}