diff options
author | feld <feld@FreeBSD.org> | 2017-08-18 23:08:12 +0800 |
---|---|---|
committer | feld <feld@FreeBSD.org> | 2017-08-18 23:08:12 +0800 |
commit | 76497310571a0294d979596653bde1d79cb21633 (patch) | |
tree | 8db0d32f23499c491af3781e7f9baf735c89b695 /net | |
parent | 8005df7c4079f27d2e5a4accdcf312f45d5480f2 (diff) | |
download | freebsd-ports-gnome-76497310571a0294d979596653bde1d79cb21633.tar.gz freebsd-ports-gnome-76497310571a0294d979596653bde1d79cb21633.tar.zst freebsd-ports-gnome-76497310571a0294d979596653bde1d79cb21633.zip |
net/ostinato: Fix building on 11.1-RELEASE and HEAD
11.1-RELEASE and HEAD include libpcap 1.8 which doesn't ensure the experimental
remote packet capture feature only available to WIN32 isn't picked up by
builds on Unix. This solves the build error of the missing remote-ext.h
header file.
MFH: 2017Q3
Diffstat (limited to 'net')
-rw-r--r-- | net/ostinato/files/patch-libpcap18fix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/net/ostinato/files/patch-libpcap18fix b/net/ostinato/files/patch-libpcap18fix new file mode 100644 index 000000000000..b3cbf429d661 --- /dev/null +++ b/net/ostinato/files/patch-libpcap18fix @@ -0,0 +1,24 @@ +Patch to fix building with libpcap 1.8 branch which doesn't properly +ensure HAVE_REMOTE declarations are only for WIN32 systems +--- rpc/pbrpc.pro.orig 2017-08-18 15:00:23 UTC ++++ rpc/pbrpc.pro +@@ -1,7 +1,7 @@ + TEMPLATE = lib + CONFIG += qt staticlib + QT += network +-DEFINES += HAVE_REMOTE ++#DEFINES += HAVE_REMOTE + LIBS += -lprotobuf + HEADERS += rpcserver.h rpcconn.h pbrpccontroller.h pbrpcchannel.h pbqtio.h + SOURCES += rpcserver.cpp rpcconn.cpp pbrpcchannel.cpp +--- server/drone.pro.orig 2017-08-18 15:00:47 UTC ++++ server/drone.pro +@@ -2,7 +2,7 @@ TEMPLATE = app + CONFIG += qt ver_info + QT += network script xml + QT -= gui +-DEFINES += HAVE_REMOTE WPCAP ++#DEFINES += HAVE_REMOTE WPCAP + linux*:system(grep -q IFLA_STATS64 /usr/include/linux/if_link.h): \ + DEFINES += HAVE_IFLA_STATS64 + INCLUDEPATH += "../rpc" |