mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
Unbreak on -CURRENT (taskqueue_enqueue_fast(9) removed).
This commit is contained in:
parent
d816219a1b
commit
f76037b0c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=410809
2 changed files with 26 additions and 0 deletions
13
misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c
Normal file
13
misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c
Normal file
|
@ -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
|
||||
*/
|
|
@ -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;
|
Loading…
Add table
Reference in a new issue