diff options
author | gahr <gahr@FreeBSD.org> | 2012-11-30 22:32:22 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2012-11-30 22:32:22 +0800 |
commit | 8cf5bd596e5a3588e223c1dc138f5d03ec172bf5 (patch) | |
tree | 6095fc194c9eb3520d2ee450cc631a3768916ebd /net | |
parent | b1cde43b9e41c8cb5ed21ccfbda567f6d2b89123 (diff) | |
download | freebsd-ports-gnome-8cf5bd596e5a3588e223c1dc138f5d03ec172bf5.tar.gz freebsd-ports-gnome-8cf5bd596e5a3588e223c1dc138f5d03ec172bf5.tar.zst freebsd-ports-gnome-8cf5bd596e5a3588e223c1dc138f5d03ec172bf5.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); |