From 244fec074ecb3fa9f3a9fc6cb50dab40acef59d1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 22 Sep 2015 19:02:16 -0400 Subject: 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. --- net-firewall/ebtables/ebtables-2.0.10.4-r1.ebuild | 4 ---- net-firewall/ebtables/ebtables-2.0.10.4.ebuild | 4 ---- 2 files changed, 8 deletions(-) (limited to 'net-firewall') 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}" \ -- cgit v1.2.3-65-gdbad