Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/plasma-pass/, kde-misc/plasma-pass/files/
Date: Sat, 01 May 2021 21:24:20
Message-Id: 1619904116.494ec0c253357d84f04eeb29b38ed40f3edb8632.asturm@gentoo
1 commit: 494ec0c253357d84f04eeb29b38ed40f3edb8632
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 1 20:08:20 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat May 1 21:21:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=494ec0c2
7
8 kde-misc/plasma-pass: Drop -Werror
9
10 Closes: https://bugs.gentoo.org/785832
11 Package-Manager: Portage-3.0.18, Repoman-3.0.3
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 .../files/plasma-pass-1.2.0-no-werror.patch | 31 ++++++++++++++++++++++
15 kde-misc/plasma-pass/plasma-pass-1.2.0.ebuild | 2 ++
16 2 files changed, 33 insertions(+)
17
18 diff --git a/kde-misc/plasma-pass/files/plasma-pass-1.2.0-no-werror.patch b/kde-misc/plasma-pass/files/plasma-pass-1.2.0-no-werror.patch
19 new file mode 100644
20 index 00000000000..42c40bfe923
21 --- /dev/null
22 +++ b/kde-misc/plasma-pass/files/plasma-pass-1.2.0-no-werror.patch
23 @@ -0,0 +1,31 @@
24 +From 468db75d4a4f2620921c00ebd91fd7d12e7a2bce Mon Sep 17 00:00:00 2001
25 +From: David Faure <faure@×××.org>
26 +Date: Sat, 1 May 2021 21:58:56 +0200
27 +Subject: [PATCH] Remove -Werror, one can't predict what future compilers will
28 + do
29 +
30 +I assume this was supposed to be set only temporarily.
31 +
32 +CCMAIL: dvratil@×××.org
33 +---
34 + CMakeLists.txt | 4 ++--
35 + 1 file changed, 2 insertions(+), 2 deletions(-)
36 +
37 +diff --git a/CMakeLists.txt b/CMakeLists.txt
38 +index 8131494..26cea6e 100644
39 +--- a/CMakeLists.txt
40 ++++ b/CMakeLists.txt
41 +@@ -46,8 +46,8 @@ find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
42 + add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050d00)
43 + add_definitions(-DQT_NO_FOREACH)
44 +
45 +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -pedantic")
46 +-set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Werror -pedantic")
47 ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
48 ++set(CMAKE_C_FLAGS "${CMAKE_CXX_FLAGS} -Wall -pedantic")
49 +
50 + # plasmoid
51 + plasma_install_package(package org.kde.plasma.pass)
52 +--
53 +GitLab
54 +
55
56 diff --git a/kde-misc/plasma-pass/plasma-pass-1.2.0.ebuild b/kde-misc/plasma-pass/plasma-pass-1.2.0.ebuild
57 index d713294e830..b62a307e42d 100644
58 --- a/kde-misc/plasma-pass/plasma-pass-1.2.0.ebuild
59 +++ b/kde-misc/plasma-pass/plasma-pass-1.2.0.ebuild
60 @@ -35,3 +35,5 @@ RDEPEND="${DEPEND}
61 >=dev-qt/qtquickcontrols2-${QTMIN}:5
62 >=kde-frameworks/kirigami-${KFMIN}:5
63 "
64 +
65 +PATCHES=( "${FILESDIR}"/${P}-no-werror.patch ) # bug 785832