Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2020 07:04:45 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528400 - head/net-p2p/torrent-file-editor
Message-ID:  <202003140704.02E74jx7038587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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