Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2023 15:50:46 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 29e3d406ff35 - main - graphics/povray37: Fix build with llvm16
Message-ID:  <202307181550.36IFokcn074015@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=29e3d406ff3583fca47401bcc05868b9889ee116

commit 29e3d406ff3583fca47401bcc05868b9889ee116
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-18 13:45:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-18 15:50:38 +0000

    graphics/povray37: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 graphics/povray37/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/graphics/povray37/Makefile b/graphics/povray37/Makefile
index cd65dc67d237..ec3be553b1dc 100644
--- a/graphics/povray37/Makefile
+++ b/graphics/povray37/Makefile
@@ -97,6 +97,10 @@ post-patch:
 	${REINPLACE_CMD} -e 's|@@EXAMPLESDIR@@|${EXAMPLESDIR}|' \
 		-e 's|@@ETCDIR@@|${ETCDIR}|' \
 		${WRKSRC}/unix/povray.conf
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+	@${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|' \
+		${WRKSRC}/source/backend/render/trace.cpp
+.endif
 
 pre-configure:
 	cd ${WRKSRC}/unix && ./prebuild.sh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307181550.36IFokcn074015>