Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Nov 2014 18:52:33 +0000 (UTC)
From:      Juergen Lock <nox@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372573 - head/emulators/qemu-devel/files
Message-ID:  <201411141852.sAEIqXwd092288@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nox
Date: Fri Nov 14 18:52:32 2014
New Revision: 372573
URL: https://svnweb.freebsd.org/changeset/ports/372573
QAT: https://qat.redports.org/buildarchive/r372573/

Log:
  (Attempt to) fix build on head after faith(4) removal. (r274331)
  
  Submitted by:	beefy1 via pkg-fallout

Added:
  head/emulators/qemu-devel/files/extra-patch-bsd-user-freebsd-os-socket.h   (contents, props changed)

Added: head/emulators/qemu-devel/files/extra-patch-bsd-user-freebsd-os-socket.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/emulators/qemu-devel/files/extra-patch-bsd-user-freebsd-os-socket.h	Fri Nov 14 18:52:32 2014	(r372573)
@@ -0,0 +1,22 @@
+--- a/bsd-user/freebsd/os-socket.h
++++ b/bsd-user/freebsd/os-socket.h
+@@ -181,7 +181,9 @@ static inline abi_long do_bsd_setsockopt
+         case IP_PORTRANGE: /* int; range to choose for unspec port */
+         case IP_RECVIF: /* bool; receive reception if w/dgram */
+         case IP_IPSEC_POLICY:   /* int; set/get security policy */
++#ifdef IP_FAITH
+         case IP_FAITH:  /* bool; accept FAITH'ed connections */
++#endif
+         case IP_RECVTTL: /* bool; receive reception TTL w/dgram */
+             val = 0;
+             if (optlen >= sizeof(uint32_t)) {
+@@ -454,7 +456,9 @@ int_case:
+         case IP_MULTICAST_LOOP:
+         case IP_PORTRANGE:
+         case IP_IPSEC_POLICY:
++#ifdef IP_FAITH
+         case IP_FAITH:
++#endif
+         case IP_ONESBCAST:
+         case IP_BINDANY:
+             if (get_user_u32(len, optlen)) {



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