summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-09-22 19:02:16 -0400
committerMike Frysinger <vapier@gentoo.org>2015-09-22 22:33:04 -0400
commit244fec074ecb3fa9f3a9fc6cb50dab40acef59d1 (patch)
treedbf3613f5158c6e046028d6350473eae0d680bb9 /net-firewall/ebtables
parentwww-client/firefox: version bumps and cleanups (diff)
downloadgentoo-244fec074ecb3fa9f3a9fc6cb50dab40acef59d1.tar.gz
gentoo-244fec074ecb3fa9f3a9fc6cb50dab40acef59d1.tar.bz2
gentoo-244fec074ecb3fa9f3a9fc6cb50dab40acef59d1.zip
net-firewall/ebtables: delete incorrect/misleading comment
The quoted code is not safe at all, so delete the incorrect comment in the hopes no one notices it and (incorrectly) copies it into a different ebuild.
Diffstat (limited to 'net-firewall/ebtables')
-rw-r--r--net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild4
-rw-r--r--net-firewall/ebtables/ebtables-2.0.10.4.ebuild4
2 files changed, 0 insertions, 8 deletions
diff --git a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
index e298706a0e2d..a382ad66c568 100644
--- a/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
+++ b/net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild
@@ -42,10 +42,6 @@ src_compile() {
# This package uses _init functions to initialise extensions. With
# --as-needed this will not work.
append-ldflags $(no-as-needed)
- # This package correctly aliases pointers, but gcc is unable to know that:
- # unsigned char ip[4];
- # if (*((uint32_t*)ip) == 0) {
- #append-cflags -Wno-strict-aliasing
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \
diff --git a/net-firewall/ebtables/ebtables-2.0.10.4.ebuild b/net-firewall/ebtables/ebtables-2.0.10.4.ebuild
index 75eec735f5cc..b63cf5a1b60c 100644
--- a/net-firewall/ebtables/ebtables-2.0.10.4.ebuild
+++ b/net-firewall/ebtables/ebtables-2.0.10.4.ebuild
@@ -42,10 +42,6 @@ src_compile() {
# This package uses _init functions to initialise extensions. With
# --as-needed this will not work.
append-ldflags $(no-as-needed)
- # This package correctly aliases pointers, but gcc is unable to know that:
- # unsigned char ip[4];
- # if (*((uint32_t*)ip) == 0) {
- #append-cflags -Wno-strict-aliasing
emake \
CC="$(tc-getCC)" \
CFLAGS="${CFLAGS}" \