Unbreak against Clang 10. Upstream is notified.
Reported by: pkg-fallout
This commit is contained in:
parent
bc570e9c0c
commit
87c7340826
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528400
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue