diff options
author | jbeich <jbeich@FreeBSD.org> | 2019-03-04 19:33:50 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2019-03-04 19:33:50 +0800 |
commit | 076ca9877c5ce84d5bc659b8f6d20e647bd25471 (patch) | |
tree | 70cbbf5feb6d17c22b7aaaee4aa726067c6f0cf8 /net-p2p/torrent-file-editor | |
parent | 2558fcde662b2576f2589cbd96461e870bf07cb0 (diff) | |
download | freebsd-ports-gnome-076ca9877c5ce84d5bc659b8f6d20e647bd25471.tar.gz freebsd-ports-gnome-076ca9877c5ce84d5bc659b8f6d20e647bd25471.tar.zst freebsd-ports-gnome-076ca9877c5ce84d5bc659b8f6d20e647bd25471.zip |
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
Diffstat (limited to 'net-p2p/torrent-file-editor')
-rw-r--r-- | net-p2p/torrent-file-editor/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
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 <version> by adding .txt suffix + @${REINPLACE_CMD} -i .c++20 '/file/s/version/&.txt/' \ + ${WRKSRC}/Version.cmake ${WRKSRC}/Dmg.cmake + .include <bsd.port.mk> |