Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 10:56:36 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359216 - head/misc/dahdi-kmod/files
Message-ID:  <201406251056.s5PAuab3048998@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Wed Jun 25 10:56:35 2014
New Revision: 359216
URL: http://svnweb.freebsd.org/changeset/ports/359216
QAT: https://qat.redports.org/buildarchive/r359216/

Log:
  Unbreak on FreeBSD 11.

Added:
  head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c   (contents, props changed)

Added: head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c	Wed Jun 25 10:56:35 2014	(r359216)
@@ -0,0 +1,17 @@
+--- freebsd/freebsd/dahdi/ng_dahdi_iface.c	(revision 10746)
++++ freebsd/freebsd/dahdi/ng_dahdi_iface.c	(revision 10747)
+@@ -281,10 +281,14 @@
+ 	/* connect other hooks */
+ 	dahdi_iface_connect_node_path(node, DAHDI_IFACE_HOOK_UPPER,
+ 	    NG_CISCO_HOOK_INET, NG_CISCO_HOOK_INET6, NG_IFACE_HOOK_INET6);
++#if __FreeBSD_version < 1100013
+ 	dahdi_iface_connect_node_path(node, DAHDI_IFACE_HOOK_UPPER,
+ 	    NG_CISCO_HOOK_INET, NG_CISCO_HOOK_APPLETALK, NG_IFACE_HOOK_ATALK);
++#endif
++#if __FreeBSD_version < 1100012
+ 	dahdi_iface_connect_node_path(node, DAHDI_IFACE_HOOK_UPPER,
+ 	    NG_CISCO_HOOK_INET, NG_CISCO_HOOK_IPX, NG_IFACE_HOOK_IPX);
++#endif
+ 
+ 	/* get iface name */
+ 	NG_MKMESSAGE(msg, NGM_IFACE_COOKIE, NGM_IFACE_GET_IFNAME, 0, M_WAITOK);



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