From owner-svn-ports-all@freebsd.org Sat Jul 13 11:59:54 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04F4315E7477; Sat, 13 Jul 2019 11:59:54 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9DA9F837D7; Sat, 13 Jul 2019 11:59:53 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7760F257A4; Sat, 13 Jul 2019 11:59:53 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x6DBxrrG021189; Sat, 13 Jul 2019 11:59:53 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x6DBxrma021188; Sat, 13 Jul 2019 11:59:53 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201907131159.x6DBxrma021188@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 13 Jul 2019 11:59:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r506540 - head/net-p2p/torrent-file-editor/files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: head/net-p2p/torrent-file-editor/files X-SVN-Commit-Revision: 506540 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9DA9F837D7 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.952,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Jul 2019 11:59:54 -0000 Author: tcberner Date: Sat Jul 13 11:59:53 2019 New Revision: 506540 URL: https://svnweb.freebsd.org/changeset/ports/506540 Log: net-p2p/torrent-file-editor: prepare for Qt 5.13 PR: 238782 Modified: head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt Modified: head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt ============================================================================== --- head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt Sat Jul 13 11:53:05 2019 (r506539) +++ head/net-p2p/torrent-file-editor/files/patch-CMakeLists.txt Sat Jul 13 11:59:53 2019 (r506540) @@ -1,10 +1,20 @@ ---- CMakeLists.txt.orig 2017-12-11 09:39:35 UTC +--- CMakeLists.txt.orig 2019-04-11 19:45:13 UTC +++ CMakeLists.txt -@@ -108,6 +108,7 @@ if(QT5_BUILD) +@@ -31,6 +31,9 @@ add_custom_target(update_version ALL + COMMAND ${CMAKE_COMMAND} -DWIN32=${WIN32} -DAPP_VERSION="v${APP_VERSION}" -P "${CMAKE_SOURCE_DIR}/Version.cmake" + ) + ++# Fix build with Qt 5.13 ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DQT_NO_DEPRECATED_WARNINGS=Y") ++ + # Enable C++11 + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + +@@ -129,6 +132,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)'") + include_directories(${QJSON_INCLUDE_DIR}) - if(WIN32)