Index: head/net-p2p/torrent-file-editor/Makefile =================================================================== --- head/net-p2p/torrent-file-editor/Makefile (revision 456021) +++ head/net-p2p/torrent-file-editor/Makefile (revision 456022) @@ -1,34 +1,34 @@ # Created by: Alexey Dokuchaev # $FreeBSD$ PORTNAME= torrent-file-editor -PORTVERSION= 0.3.8 +PORTVERSION= 0.3.9 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/v${PORTVERSION} MAINTAINER= danfe@FreeBSD.org COMMENT= Qt-based GUI tool for creating and editing .torrent files LICENSE= GPLv3 USES= cmake desktop-file-utils _QT4_DEPS= linguisttools_build moc_build qmake_build rcc_build \ uic_build corelib gui _QT5_DEPS= buildtools_build linguisttools_build qmake_build \ core gui widgets OPTIONS_DEFINE= DONATION QT5 OPTIONS_DEFAULT= DONATION DONATION_DESC= Show donation text in the About dialog QT5_DESC= Build against Qt 5 instead of Qt 4 DONATION_CMAKE_OFF= -DDISABLE_DONATION:BOOL=ON QT5_USE= QT5=${_QT5_DEPS:ts,} QT5_USE_OFF= QT4=${_QT4_DEPS:ts,} QT5_LIB_DEPENDS_OFF= libqjson.so:devel/qjson QT5_CMAKE_ON= -DQT5_BUILD:BOOL=ON .include Index: head/net-p2p/torrent-file-editor/distinfo =================================================================== --- head/net-p2p/torrent-file-editor/distinfo (revision 456021) +++ head/net-p2p/torrent-file-editor/distinfo (revision 456022) @@ -1,3 +1,3 @@ -TIMESTAMP = 1512039438 -SHA256 (torrent-file-editor-0.3.8.tar.gz) = 4545a6c2e2cf1eb8924319a86fd4d6cc7aa319c26b31c263de9709c48102762e -SIZE (torrent-file-editor-0.3.8.tar.gz) = 336154 +TIMESTAMP = 1512986548 +SHA256 (torrent-file-editor-0.3.9.tar.gz) = 8821a57fca153bdf0de16f79386e8725092e8377c8defdaeb8e0882122cf8aec +SIZE (torrent-file-editor-0.3.9.tar.gz) = 343340 Index: head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt =================================================================== --- head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt (revision 456021) +++ head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt (revision 456022) @@ -1,19 +1,10 @@ ---- CMakeLists.txt.orig 2017-09-26 09:30:09 UTC +--- CMakeLists.txt.orig 2017-12-11 09:39:35 UTC +++ CMakeLists.txt -@@ -46,7 +46,7 @@ if(CMAKE_BUILD_TYPE STREQUAL Release OR CMAKE_BUILD_TY - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") - - # #warning is not an error -- if(NOT APPLE) -+ if(NOT APPLE AND NOT CMAKE_SYSTEM_NAME STREQUAL FreeBSD) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=cpp") - else() - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-#warnings") @@ -108,6 +108,7 @@ if(QT5_BUILD) else() find_package(Qt4 REQUIRED) find_package(QJSON 0.8.0 REQUIRED) + include_directories(${QJSON_INCLUDE_DIR}) add_definitions("'-DQStringLiteral(str)=QString::fromUtf8(\"\" str \"\", sizeof(str) - 1)'") if(WIN32)