From nobody Sat Aug 05 11:53:33 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 4RJ1F95tnSz4gx9G; Sat, 5 Aug 2023 11:53:33 +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 4RJ1F95SlZz3Plx; Sat, 5 Aug 2023 11:53:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236413; 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=ZQwBaOjbn42aI54syL+LNsXWl9tmrAeNU4SzGFra54c=; b=smBrdRVX6AvbmMnI9e8KpW2NkU3dxxSUK02bIzluO7qIp7Hzwq3AWtuqKUQBUZ0fPa21Wf SPU7X45bQ2xcLtkjdKnG3ep8KXgGsV6zS/a5dk50BWzGxm1imjcZ6DX16G9SqJSrFHGiYt Z8uYmgRc8xKj1TsA+Lw2wOv5TK/LnZVqIdiGzTUIgWUURBaj442iBfHprPXN3MY9QLzd8g FVuab0XqDiLxa4avB+rDzVzzilItgGOQFk1hnPj16Yo4gAa/5dEBq0Wjc/ud+WlryhNaCW T9xFyaFTuN3uFZ2NMLT6oXPZ7KNKHShgQxcem4A3Vr10TvdFEzp7twUbeXYLDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691236413; 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=ZQwBaOjbn42aI54syL+LNsXWl9tmrAeNU4SzGFra54c=; b=jujCwbx6JmFtmHhy8GBEj9qpN+1hSmY2JpMgc6kW0W53qPEgnqZDlvpN4Uhul3v/1Qs7r8 yW1a2yDgNRX4wMEZa3NkM6iX7c/XKGNJpJ1NWIfMfieWs3TcBgbnxX1rYZxCXOZJKM7erz A4lTvNH2CvWF+oNJvxYLXNj7msXngt4ncjIY76iCGs6x2q8lXFw/ifTGTPzVHkDykUKxYr V+gK5XmsNQD8Rb4rieJDhM952QzZo/De733o1li2yXKZXVjvNv54q+AuD8uKtLDJjxwryC i/Hf+q5i1VzRhM70mh5TyL73hFSCJoJlQkdqHh6L8qRJ+uwdWuhqNZptj+HHwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691236413; a=rsa-sha256; cv=none; b=Q5Lliw2PqhheIVsikARLIlNPAIpe0JO1187/1CNmw84AJ81Rqlc7g941YiHYXdpE2FMNwb UttuHa5MU4c/+SSt0aAZfDo+xw968Hzd8gJ5KtF3cll/KbxlshZDunaAuzhSRGKKFDxZog OHWwQrTX5kj6sbXlXQerBE32O4YQCW6wpNHlotUkuUos1T/+e+ncDC30xOHC39D0tflSt3 XXG5WxG89RHlejqz3zOxIHNRAEqZ2x7LWi59L7zsDHTuQiKGdRW9e4hhoNZtcLJBY5CVd9 h17HixcYbJlx5aKTI0ATJJCCA8FEzK3vwDm5fkayVolXy7S4+LeBMPXrYrv0ZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RJ1F94PYQzCqb; Sat, 5 Aug 2023 11:53:33 +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 375BrXNT075120; Sat, 5 Aug 2023 11:53:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 375BrXRg075119; Sat, 5 Aug 2023 11:53:33 GMT (envelope-from git) Date: Sat, 5 Aug 2023 11:53:33 GMT Message-Id: <202308051153.375BrXRg075119@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: a93afe3da100 - main - cad/ldview: 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: a93afe3da100b2f9b59773f6c7b7c8cc5d68c5e9 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a93afe3da100b2f9b59773f6c7b7c8cc5d68c5e9 commit a93afe3da100b2f9b59773f6c7b7c8cc5d68c5e9 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-05 11:06:39 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-05 11:53:19 +0000 cad/ldview: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- cad/ldview/Makefile | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/cad/ldview/Makefile b/cad/ldview/Makefile index f22fa3d32df8..c272bf557b43 100644 --- a/cad/ldview/Makefile +++ b/cad/ldview/Makefile @@ -20,21 +20,25 @@ RUN_DEPENDS= bash:shells/bash \ ldraw>0:cad/ldraw USES= desktop-file-utils gl gmake jpeg qmake qt:5 shared-mime-info shebangfix xorg -USE_QT= core gui linguist opengl printsupport widgets buildtools:build qmake:build -USE_GL= gl glu -USE_XORG= x11 - USE_GITHUB= yes GH_ACCOUNT= tcobbs +USE_GL= gl glu +USE_QT= core gui linguist opengl printsupport widgets buildtools:build qmake:build +USE_XORG= x11 SHEBANG_FILES= desktop/ldraw-thumbnailer +QMAKE_ARGS= MANDIR=${PREFIX}/man CONFIG+=EXPORT_3DS + WRKSRC_SUBDIR= QT -QMAKE_ARGS= MANDIR=${PREFIX}/man CONFIG+=EXPORT_3DS +.include post-patch: @${REINPLACE_CMD} -e 's|"/usr/share/ldraw"|"${PREFIX}/share/ldraw"|' ${WRKSRC}/ModelViewerWidget.cpp +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) + @${REINPLACE_CMD} -e 's|register ||' ${WRKSRC}/../LDLoader/LDrawIni.c +.endif pre-configure: @cd ${WRKSRC} && ${LRELEASE} LDView.pro