From: Mike Frysinger Date: Tue, 22 Sep 2015 23:02:16 +0000 (-0400) Subject: net-firewall/ebtables: delete incorrect/misleading comment X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=244fec074ecb3fa9f3a9fc6cb50dab40acef59d1;p=gentoo.git 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. --- 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}" \