Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/ebtables/
Date: Wed, 23 Sep 2015 02:33:20
Message-Id: 1442975584.244fec074ecb3fa9f3a9fc6cb50dab40acef59d1.vapier@gentoo
1 commit: 244fec074ecb3fa9f3a9fc6cb50dab40acef59d1
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 22 23:02:16 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 23 02:33:04 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=244fec07
7
8 net-firewall/ebtables: delete incorrect/misleading comment
9
10 The quoted code is not safe at all, so delete the incorrect comment in
11 the hopes no one notices it and (incorrectly) copies it into a different
12 ebuild.
13
14 net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild | 4 ----
15 net-firewall/ebtables/ebtables-2.0.10.4.ebuild | 4 ----
16 2 files changed, 8 deletions(-)
17
18 diff --git a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
19 index e298706..a382ad6 100644
20 --- a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
21 +++ b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
22 @@ -42,10 +42,6 @@ src_compile() {
23 # This package uses _init functions to initialise extensions. With
24 # --as-needed this will not work.
25 append-ldflags $(no-as-needed)
26 - # This package correctly aliases pointers, but gcc is unable to know that:
27 - # unsigned char ip[4];
28 - # if (*((uint32_t*)ip) == 0) {
29 - #append-cflags -Wno-strict-aliasing
30 emake \
31 CC="$(tc-getCC)" \
32 CFLAGS="${CFLAGS}" \
33
34 diff --git a/net-firewall/ebtables/ebtables-2.0.10.4.ebuild b/net-firewall/ebtables/ebtables-2.0.10.4.ebuild
35 index 75eec73..b63cf5a 100644
36 --- a/net-firewall/ebtables/ebtables-2.0.10.4.ebuild
37 +++ b/net-firewall/ebtables/ebtables-2.0.10.4.ebuild
38 @@ -42,10 +42,6 @@ src_compile() {
39 # This package uses _init functions to initialise extensions. With
40 # --as-needed this will not work.
41 append-ldflags $(no-as-needed)
42 - # This package correctly aliases pointers, but gcc is unable to know that:
43 - # unsigned char ip[4];
44 - # if (*((uint32_t*)ip) == 0) {
45 - #append-cflags -Wno-strict-aliasing
46 emake \
47 CC="$(tc-getCC)" \
48 CFLAGS="${CFLAGS}" \