Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2017 15:09:08 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r448239 - branches/2017Q3/net/ostinato/files
Message-ID:  <201708181509.v7IF98s9081013@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Fri Aug 18 15:09:08 2017
New Revision: 448239
URL: https://svnweb.freebsd.org/changeset/ports/448239

Log:
  MFH: r448238
  
  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.
  
  Approved by:	portmgr (with hat)

Added:
  branches/2017Q3/net/ostinato/files/patch-libpcap18fix
     - copied unchanged from r448238, head/net/ostinato/files/patch-libpcap18fix
Modified:
Directory Properties:
  branches/2017Q3/   (props changed)

Copied: branches/2017Q3/net/ostinato/files/patch-libpcap18fix (from r448238, head/net/ostinato/files/patch-libpcap18fix)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2017Q3/net/ostinato/files/patch-libpcap18fix	Fri Aug 18 15:09:08 2017	(r448239, copy of r448238, head/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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708181509.v7IF98s9081013>