From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/
Date: Sun, 24 May 2020 02:33:32 +0000 (UTC) [thread overview]
Message-ID: <1590287598.2c2c3883f3500dc67e6d7e9c789d815abc9d622a.floppym@gentoo> (raw)
commit: 2c2c3883f3500dc67e6d7e9c789d815abc9d622a
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun May 24 02:30:02 2020 +0000
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> 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 <floppym <AT> 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 <floppym@gentoo.org>
+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}
next reply other threads:[~2020-05-24 2:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-24 2:33 Mike Gilbert [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-06-16 19:01 [gentoo-commits] repo/gentoo:master commit in: net-p2p/transmission/, net-p2p/transmission/files/ Mike Gilbert
2024-06-11 1:05 Mike Gilbert
2023-02-23 19:52 Craig Andrews
2023-02-10 23:11 Mike Gilbert
2023-02-09 1:06 Mike Gilbert
2022-05-15 23:52 Mike Gilbert
2022-05-15 15:11 Mike Gilbert
2019-09-02 18:45 Mike Gilbert
2018-01-13 22:00 Mike Gilbert
2017-01-10 15:31 Sergey Popov
2016-03-06 22:14 Mike Gilbert
2015-10-03 19:09 Mike Gilbert
2015-10-03 18:26 Mike Gilbert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1590287598.2c2c3883f3500dc67e6d7e9c789d815abc9d622a.floppym@gentoo \
--to=floppym@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox