1 |
commit: eb437d523be016555c89ba66b6b09977d62c75fc |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 27 05:53:54 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Feb 27 06:19:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb437d52 |
7 |
|
8 |
net-fs/smbtad: fix gcc 10 build |
9 |
|
10 |
Closes: https://bugs.gentoo.org/707778 |
11 |
Package-Manager: Portage-3.0.15, Repoman-3.0.2 |
12 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
13 |
|
14 |
net-fs/smbtad/smbtad-1.2.6.ebuild | 7 +++++-- |
15 |
1 file changed, 5 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/net-fs/smbtad/smbtad-1.2.6.ebuild b/net-fs/smbtad/smbtad-1.2.6.ebuild |
18 |
index 8a0ed2811e4..e1a62c8d8bc 100644 |
19 |
--- a/net-fs/smbtad/smbtad-1.2.6.ebuild |
20 |
+++ b/net-fs/smbtad/smbtad-1.2.6.ebuild |
21 |
@@ -1,9 +1,9 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
|
28 |
-inherit cmake-utils |
29 |
+inherit cmake-utils flag-o-matic |
30 |
|
31 |
DESCRIPTION="Data receiver of the SMB Traffic Analyzer project" |
32 |
HOMEPAGE="https://github.com/hhetter/smbtad" |
33 |
@@ -28,6 +28,9 @@ DOCS=( README AUTHORS ) |
34 |
src_prepare() { |
35 |
cmake-utils_src_prepare |
36 |
|
37 |
+ # bug #707778 |
38 |
+ append-cflags -fcommon |
39 |
+ |
40 |
sed -i \ |
41 |
-e '/CMAKE_C_FLAGS/d' \ |
42 |
CMakeLists.txt || die |