aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2014-06-25 18:56:35 +0800
committerfjoe <fjoe@FreeBSD.org>2014-06-25 18:56:35 +0800
commitf5850a8b49b97db2cf75f8b82a08955f1c058782 (patch)
tree222f01ecd5ad3784980188c1b4ec5cc3280146fe /misc
parent691603491b7da23327b35cee7bcf53fdb0443a83 (diff)
downloadfreebsd-ports-gnome-f5850a8b49b97db2cf75f8b82a08955f1c058782.tar.gz
freebsd-ports-gnome-f5850a8b49b97db2cf75f8b82a08955f1c058782.tar.zst
freebsd-ports-gnome-f5850a8b49b97db2cf75f8b82a08955f1c058782.zip
Unbreak on FreeBSD 11.
Diffstat (limited to 'misc')
-rw-r--r--misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c b/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c
new file mode 100644
index 000000000000..108c0eb9caf8
--- /dev/null
+++ b/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-ng_dahdi_iface.c
@@ -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);