From 89770e576be283cfde280f6eac1840e0028a582b Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 4 Mar 2019 11:33:50 +0000 Subject: net-p2p/torrent-file-editor: unbreak with libc++ 8 In file included from application.cpp:24: In file included from application.h:24: In file included from /usr/local/include/qt4/QtGui/QApplication:1: In file included from /usr/local/include/qt4/QtGui/qapplication.h:45: In file included from /usr/local/include/qt4/QtCore/qcoreapplication.h:45: In file included from /usr/local/include/qt4/QtCore/qobject.h:47: In file included from /usr/local/include/qt4/QtCore/qobjectdefs.h:45: In file included from /usr/local/include/qt4/QtCore/qnamespace.h:45: In file included from /usr/local/include/qt4/QtCore/qglobal.h:68: In file included from /usr/include/c++/v1/algorithm:640: In file included from /usr/include/c++/v1/initializer_list:47: In file included from /usr/include/c++/v1/cstddef:38: ./version:1:1: error: expected unqualified-id 0.3.13 ^ PR: 236192 Approved by: portmgr blanket --- net-p2p/torrent-file-editor/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'net-p2p/torrent-file-editor') diff --git a/net-p2p/torrent-file-editor/Makefile b/net-p2p/torrent-file-editor/Makefile index 59948eb41bca..189567600bfb 100644 --- a/net-p2p/torrent-file-editor/Makefile +++ b/net-p2p/torrent-file-editor/Makefile @@ -41,4 +41,9 @@ DEPRECATED= Qt4 has been EOL since december 2015 EXPIRATION_DATE= 2019-03-15 .endif +post-patch: +# Avoid conflict with C++20 by adding .txt suffix + @${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \ + ${WRKSRC}/Version.cmake ${WRKSRC}/Dmg.cmake + .include -- cgit v1.2.3