diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2012-11-30 22:32:22 +0800 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2012-11-30 22:32:22 +0800 |
commit | 6169f243f49fd0b05fcb7b062602f76440dac520 (patch) | |
tree | 6095fc194c9eb3520d2ee450cc631a3768916ebd /net | |
parent | 4416f1cd66bbd61ae871f4c176480bd4f704fc45 (diff) | |
download | freebsd-ports-gnome-6169f243f49fd0b05fcb7b062602f76440dac520.tar.gz freebsd-ports-gnome-6169f243f49fd0b05fcb7b062602f76440dac520.tar.zst freebsd-ports-gnome-6169f243f49fd0b05fcb7b062602f76440dac520.zip |
- Fix build with clang
Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r-- | net/cnupm/files/patch-cnupm_aggr_port.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/cnupm/files/patch-cnupm_aggr_port.c b/net/cnupm/files/patch-cnupm_aggr_port.c new file mode 100644 index 000000000000..c717a3bd7fa2 --- /dev/null +++ b/net/cnupm/files/patch-cnupm_aggr_port.c @@ -0,0 +1,10 @@ +--- cnupm/aggr_port.c.orig 2012-11-30 15:29:58.000000000 +0100 ++++ cnupm/aggr_port.c 2012-11-30 15:30:30.000000000 +0100 +@@ -120,7 +120,6 @@ + { + struct aggr_port_entry *ap; + +- port = port; + RB_FOREACH(ap, aggr_port_tree, &aggr_port_tree) + if (port >= ap->ape_first && port <= ap->ape_last) + return (ap->ape_port != 0 ? ap->ape_port : port); |