Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/umockdev/, dev-util/umockdev/files/
Date: Sun, 12 Sep 2021 19:46:34
Message-Id: 1631475936.ff21acef711a9a7c6f686d131bf87ebad89593c2.floppym@gentoo
1 commit: ff21acef711a9a7c6f686d131bf87ebad89593c2
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 12 19:45:36 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 12 19:45:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff21acef
7
8 dev-util/umockdev: drop -Werror from project arguments
9
10 Closes: https://bugs.gentoo.org/812461
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 .../umockdev/files/umockdev-0.16.1-Werror.patch | 24 ++++++++++++++++++++++
14 dev-util/umockdev/umockdev-0.16.1-r1.ebuild | 3 +++
15 dev-util/umockdev/umockdev-0.16.2.ebuild | 3 +++
16 3 files changed, 30 insertions(+)
17
18 diff --git a/dev-util/umockdev/files/umockdev-0.16.1-Werror.patch b/dev-util/umockdev/files/umockdev-0.16.1-Werror.patch
19 new file mode 100644
20 index 00000000000..4bb2f28f46b
21 --- /dev/null
22 +++ b/dev-util/umockdev/files/umockdev-0.16.1-Werror.patch
23 @@ -0,0 +1,24 @@
24 +From 623286923d88990cf5f723004539b6d6d8a4a475 Mon Sep 17 00:00:00 2001
25 +From: Mike Gilbert <floppym@g.o>
26 +Date: Sun, 12 Sep 2021 15:41:35 -0400
27 +Subject: [PATCH] Drop -Werror from project arguments
28 +
29 +---
30 + meson.build | 1 -
31 + 1 file changed, 1 deletion(-)
32 +
33 +diff --git a/meson.build b/meson.build
34 +index 37509a9..7931a9c 100644
35 +--- a/meson.build
36 ++++ b/meson.build
37 +@@ -7,7 +7,6 @@ testsdir = meson.current_source_dir() / 'tests'
38 + lib_version = '0.3.0'
39 +
40 + add_project_arguments(
41 +- '-Werror',
42 + '-Werror=missing-prototypes',
43 + '-Werror=strict-prototypes',
44 + '-Werror=nested-externs',
45 +--
46 +2.33.0
47 +
48
49 diff --git a/dev-util/umockdev/umockdev-0.16.1-r1.ebuild b/dev-util/umockdev/umockdev-0.16.1-r1.ebuild
50 index cf5dc5f74cd..3021562deeb 100644
51 --- a/dev-util/umockdev/umockdev-0.16.1-r1.ebuild
52 +++ b/dev-util/umockdev/umockdev-0.16.1-r1.ebuild
53 @@ -39,6 +39,9 @@ pkg_setup() {
54 }
55
56 src_prepare() {
57 + local PATCHES=(
58 + "${FILESDIR}/umockdev-0.16.1-Werror.patch"
59 + )
60 default
61 vala_src_prepare
62 }
63
64 diff --git a/dev-util/umockdev/umockdev-0.16.2.ebuild b/dev-util/umockdev/umockdev-0.16.2.ebuild
65 index b91966d64e1..b13e0b4cd36 100644
66 --- a/dev-util/umockdev/umockdev-0.16.2.ebuild
67 +++ b/dev-util/umockdev/umockdev-0.16.2.ebuild
68 @@ -39,6 +39,9 @@ pkg_setup() {
69 }
70
71 src_prepare() {
72 + local PATCHES=(
73 + "${FILESDIR}/umockdev-0.16.1-Werror.patch"
74 + )
75 default
76 vala_src_prepare
77 }