Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 20:27:06 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369662 - head/emulators/virtualbox-ose/files
Message-ID:  <201409302027.s8UKR6lx098286@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Tue Sep 30 20:27:05 2014
New Revision: 369662
URL: http://svnweb.freebsd.org/changeset/ports/369662
QAT: https://qat.redports.org/buildarchive/r369662/

Log:
  Fix build on head.
  
  PR:		194035

Added:
  head/emulators/virtualbox-ose/files/patch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c   (contents, props changed)

Added: head/emulators/virtualbox-ose/files/patch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/virtualbox-ose/files/patch-src-VBox-HostDrivers-VBoxNetAdp-freebsd-VBoxNetAdp-freebsd.c	Tue Sep 30 20:27:05 2014	(r369662)
@@ -0,0 +1,14 @@
+--- src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c.orig	2014-09-09 15:54:30.000000000 -0400
++++ src/VBox/HostDrivers/VBoxNetAdp/freebsd/VBoxNetAdp-freebsd.c	2014-09-30 15:36:06.000000000 -0400
+@@ -234,7 +234,11 @@
+     ifp->if_drv_flags |= IFF_DRV_OACTIVE;
+     while (!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
+     {
++#if __FreeBSD_version >= 1100036
++        if_inc_counter(ifp, IFCOUNTER_OPACKETS, 1);
++#else
+         ifp->if_opackets++;
++#endif
+         IFQ_DRV_DEQUEUE(&ifp->if_snd, m);
+         BPF_MTAP(ifp, m);
+         m_freem(m);



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