Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2024 12:38:24 GMT
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bf589b9722c3 - main - games/trenchbroom: try to unreak the port's build on recent -CURRENT
Message-ID:  <202411111238.4ABCcO9R024985@gitrepo.freebsd.org>

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

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

commit bf589b9722c36a856eb3bf9ed2b819d94b49948e
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-11-11 12:36:56 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-11-11 12:36:56 +0000

    games/trenchbroom: try to unreak the port's build on recent -CURRENT
    
      common/src/BBox.h:174:33: error: no member named 'insersectWith'
      in 'BBox<T, S>'; did you mean 'intersectWith'?
      174 |         return BBox<T,S>(*this).insersectWith(right);
    
    Interestingly, this small typo in the member name did not cause build
    failure before.
    
    Reported by:    pkg-fallout
---
 games/trenchbroom/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/games/trenchbroom/Makefile b/games/trenchbroom/Makefile
index 9fc0de815d39..9d4b2aaed1b7 100644
--- a/games/trenchbroom/Makefile
+++ b/games/trenchbroom/Makefile
@@ -40,6 +40,8 @@ post-patch:
 	@${REINPLACE_CMD} -e '/typedef std::/s,auto_ptr,unique_ptr,' \
 		${WRKSRC}/common/src/IO/NodeSerializer.h \
 		${WRKSRC}/common/src/Renderer/FontTexture.h
+	@${REINPLACE_CMD} -e '/BBox/s,insersectWith,intersectWith,' \
+		${WRKSRC}/common/src/BBox.h
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/TrenchBroom ${STAGEDIR}${PREFIX}/bin



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