net-firewall/ebtables: delete incorrect/misleading comment
authorMike Frysinger <vapier@gentoo.org>
Tue, 22 Sep 2015 23:02:16 +0000 (19:02 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 23 Sep 2015 02:33:04 +0000 (22:33 -0400)
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
net-firewall/ebtables/ebtables-2.0.10.4.ebuild

index e298706a0e2df1252706f3c1542f9675358508d5..a382ad66c568d23d889245179b7ba53946824539 100644 (file)
@@ -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}" \
index 75eec735f5cced8e0a848eddd8fa1939a61fafca..b63cf5a1b60c4da1822e148923f9254cec02c3fe 100644 (file)
@@ -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}" \