1 |
commit: fe7f4ce0f8bfc10f4e9791622b0619f592ffb22b |
2 |
Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> |
3 |
AuthorDate: Fri Jun 24 18:41:16 2022 +0000 |
4 |
Commit: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> |
5 |
CommitDate: Sat Jun 25 07:50:58 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe7f4ce0 |
7 |
|
8 |
dev-libs/open62541: Disable Werror |
9 |
|
10 |
Disable Werror by using corresponding cmake option. |
11 |
|
12 |
Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> |
13 |
|
14 |
dev-libs/open62541/open62541-1.3.1.ebuild | 8 +------- |
15 |
1 file changed, 1 insertion(+), 7 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/open62541/open62541-1.3.1.ebuild b/dev-libs/open62541/open62541-1.3.1.ebuild |
18 |
index 35c45cfbe..7e3c2224a 100644 |
19 |
--- a/dev-libs/open62541/open62541-1.3.1.ebuild |
20 |
+++ b/dev-libs/open62541/open62541-1.3.1.ebuild |
21 |
@@ -54,13 +54,6 @@ PATCHES=( |
22 |
"${FILESDIR}/${P}-tests.patch" |
23 |
) |
24 |
|
25 |
-src_prepare() { |
26 |
- # bug 780912 |
27 |
- sed -i -e 's/check_add_cc_flag("-Werror")//g' CMakeLists.txt || die |
28 |
- |
29 |
- cmake_src_prepare |
30 |
-} |
31 |
- |
32 |
src_configure() { |
33 |
local mycmakeargs=( |
34 |
-DBUILD_SHARED_LIBS=ON |
35 |
@@ -70,6 +63,7 @@ src_configure() { |
36 |
-DUA_BUILD_UNIT_TESTS=$(usex test) |
37 |
-DUA_ENABLE_PUBSUB=$(usex pubsub) |
38 |
-DUA_ENABLE_PUBSUB_ETH_UADP=$(usex pubsub) |
39 |
+ -DUA_FORCE_WERROR=OFF |
40 |
) |
41 |
|
42 |
if use encryption; then |