diff options
author | danfe <danfe@FreeBSD.org> | 2017-12-27 18:39:58 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:14:45 +0800 |
commit | ce8b73b061552e4db13cd017b06f41134b03a150 (patch) | |
tree | 8c2e12c2c77a63c3a63d7a3a2a53468212781fb9 /Mk/Uses | |
parent | 8cf82d407eb1f25eea92b25836d1b085747c1099 (diff) | |
download | freebsd-ports-gnome-ce8b73b061552e4db13cd017b06f41134b03a150.tar.gz freebsd-ports-gnome-ce8b73b061552e4db13cd017b06f41134b03a150.tar.zst freebsd-ports-gnome-ce8b73b061552e4db13cd017b06f41134b03a150.zip |
Unbreak the build on sparc64: it was caused by #include <net/pfvar.h> that
was conflicting with C++ headers, leading to the following errors:
In file included from /usr/include/c++/4.2/iostream:45,
from ../include/XmlFileWriter.h:36,
from pflogx.cpp:36:
/usr/include/c++/4.2/ostream:566:47: error: macro "flush" passed 2
arguments, but takes just 1
This header was required before PF_* enums were moved to <netpfil/pf/pf.h>,
which applies to all supported versions of FreeBSD. Thus, do not #include
offending and nowadays useless header file, only #include <netpfil/pf/pf.h>
(which is #included by <net/pfvar.h>) when its definitions are needed.
Tested on: i386, amd64, powerpc, sparc64
Diffstat (limited to 'Mk/Uses')
0 files changed, 0 insertions, 0 deletions