svn commit: r528400 - head/net-p2p/torrent-file-editor
Alexey Dokuchaev
danfe at FreeBSD.org
Sat Mar 14 07:04:46 UTC 2020
Author: danfe
Date: Sat Mar 14 07:04:45 2020
New Revision: 528400
URL: https://svnweb.freebsd.org/changeset/ports/528400
Log:
Unbreak against Clang 10. Upstream is notified.
Reported by: pkg-fallout
Modified:
head/net-p2p/torrent-file-editor/Makefile
Modified: head/net-p2p/torrent-file-editor/Makefile
==============================================================================
--- head/net-p2p/torrent-file-editor/Makefile Sat Mar 14 03:10:43 2020 (r528399)
+++ head/net-p2p/torrent-file-editor/Makefile Sat Mar 14 07:04:45 2020 (r528400)
@@ -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
More information about the svn-ports-head
mailing list