svn commit: r410809 - head/misc/dahdi-kmod26/files

Max Khon fjoe at FreeBSD.org
Fri Mar 11 07:27:18 UTC 2016


Author: fjoe
Date: Fri Mar 11 07:27:16 2016
New Revision: 410809
URL: https://svnweb.freebsd.org/changeset/ports/410809

Log:
  Unbreak on -CURRENT (taskqueue_enqueue_fast(9) removed).

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

Added: head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c	Fri Mar 11 07:27:16 2016	(r410809)
@@ -0,0 +1,13 @@
+--- bsd-kmod/dahdi/bsd-compat.c.orig	2016-03-11 07:22:10.097436000 +0000
++++ bsd-kmod/dahdi/bsd-compat.c	2016-03-11 07:22:32.048183000 +0000
+@@ -48,6 +48,10 @@
+ #include <sys/refcount.h>
+ #include <sys/sbuf.h>
+ 
++#if __FreeBSD_version >= 1100101
++#define taskqueue_enqueue_fast(queue, task)    taskqueue_enqueue(queue, task)
++#endif
++
+ /*
+  * Tasklet API
+  */

Added: head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-ng_dahdi_iface.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-ng_dahdi_iface.c	Fri Mar 11 07:27:16 2016	(r410809)
@@ -0,0 +1,13 @@
+--- bsd-kmod/dahdi/ng_dahdi_iface.c.orig	2016-03-11 07:21:42.746379000 +0000
++++ bsd-kmod/dahdi/ng_dahdi_iface.c	2016-03-11 07:21:07.872394000 +0000
+@@ -53,6 +53,10 @@
+ struct ng_node *ng_name2noderef(struct ng_node *node, const char *name);
+ #endif
+ 
++#if __FreeBSD_version >= 1100101
++#define taskqueue_enqueue_fast(queue, task)    taskqueue_enqueue(queue, task)
++#endif
++
+ #define DAHDI_IFACE_HOOK_UPPER "upper"
+ 
+ static ng_rcvmsg_t ng_dahdi_iface_rcvmsg;


More information about the svn-ports-head mailing list