From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1AC3E1382C5 for ; Sun, 24 May 2020 02:33:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AAC0E0885; Sun, 24 May 2020 02:33:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E78DBE0885 for ; Sun, 24 May 2020 02:33:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5140134F071 for ; Sun, 24 May 2020 02:33:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3982242 for ; Sun, 24 May 2020 02:33:32 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1590287598.2c2c3883f3500dc67e6d7e9c789d815abc9d622a.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/transmission/files/cmake-unused-command-line.patch net-p2p/transmission/transmission-3.00.ebuild X-VCS-Directories: net-p2p/transmission/ net-p2p/transmission/files/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 2c2c3883f3500dc67e6d7e9c789d815abc9d622a X-VCS-Branch: master Date: Sun, 24 May 2020 02:33:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4ae4da72-3dd8-4221-a735-6cb6bcf7efeb X-Archives-Hash: bfdfcae85a4d0f09116cf5206a359c92 commit: 2c2c3883f3500dc67e6d7e9c789d815abc9d622a Author: Mike Gilbert gentoo org> AuthorDate: Sun May 24 02:30:02 2020 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun May 24 02:33:18 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2c3883 net-p2p/transmission: disable cmake warning for subprojects Closes: https://bugs.gentoo.org/724792 Signed-off-by: Mike Gilbert gentoo.org> .../files/cmake-unused-command-line.patch | 21 +++++++++++++++++++++ net-p2p/transmission/transmission-3.00.ebuild | 4 ++++ 2 files changed, 25 insertions(+) diff --git a/net-p2p/transmission/files/cmake-unused-command-line.patch b/net-p2p/transmission/files/cmake-unused-command-line.patch new file mode 100644 index 00000000000..6e0af5dc7cc --- /dev/null +++ b/net-p2p/transmission/files/cmake-unused-command-line.patch @@ -0,0 +1,21 @@ +From 63b8fd6391cd30bb45e1c9432f69c43ade9bb7ea Mon Sep 17 00:00:00 2001 +From: Mike Gilbert +Date: Sat, 23 May 2020 22:25:42 -0400 +Subject: [PATCH] Do not warn about unused command line options + +--- + cmake/TrMacros.cmake | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/cmake/TrMacros.cmake b/cmake/TrMacros.cmake +index 5e439126f..674b2ede0 100644 +--- a/cmake/TrMacros.cmake ++++ b/cmake/TrMacros.cmake +@@ -95,6 +95,7 @@ macro(tr_add_external_auto_library ID DIRNAME LIBNAME) + PREFIX "${${ID}_PREFIX}" + CMAKE_ARGS + -Wno-dev # We don't want to be warned over unused variables ++ --no-warn-unused-cli + "-DCMAKE_TOOLCHAIN_FILE:PATH=${CMAKE_TOOLCHAIN_FILE}" + "-DCMAKE_USER_MAKE_RULES_OVERRIDE=${CMAKE_USER_MAKE_RULES_OVERRIDE}" + "-DCMAKE_C_FLAGS:STRING=${CMAKE_C_FLAGS}" diff --git a/net-p2p/transmission/transmission-3.00.ebuild b/net-p2p/transmission/transmission-3.00.ebuild index 04a6fdf4529..3cfd308eb56 100644 --- a/net-p2p/transmission/transmission-3.00.ebuild +++ b/net-p2p/transmission/transmission-3.00.ebuild @@ -84,6 +84,10 @@ RDEPEND="${COMMON_DEPEND} ${ACCT_DEPEND} " +PATCHES=( + "${FILESDIR}"/cmake-unused-command-line.patch +) + src_configure() { local mycmakeargs=( -DCMAKE_INSTALL_DOCDIR=share/doc/${PF}