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
This commit is contained in:
Alexey Dokuchaev 2024-11-11 12:36:56 +00:00
parent 1e341451e1
commit bf589b9722

View file

@ -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