Unbreak against Clang 10. Upstream is notified.

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2020-03-14 07:04:45 +00:00
parent bc570e9c0c
commit 87c7340826
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528400

View file

@ -25,6 +25,8 @@ DONATION_DESC= Show donation text in the About dialog
DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON
post-patch:
@${REINPLACE_CMD} -e 's,const auto file,const auto \&file,' \
${WRKSRC}/bencodemodel.cpp ${WRKSRC}/mainwindow.cpp
# Avoid conflict with C++20 <version> by adding .txt suffix
@${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \
${WRKSRC}/cmake/Dmg.cmake ${WRKSRC}/cmake/Version.cmake