diff options
author | fjoe <fjoe@FreeBSD.org> | 2016-03-11 15:27:16 +0800 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2016-03-11 15:27:16 +0800 |
commit | 659f2324e1ca108d6778cae23c9c3829fb2df077 (patch) | |
tree | cf4dbbdea870f332e5c634cd19b4f0dd2a419506 /misc | |
parent | 145c85dc528e34da1b011527a91a50f6d6f792b0 (diff) | |
download | freebsd-ports-gnome-659f2324e1ca108d6778cae23c9c3829fb2df077.tar.gz freebsd-ports-gnome-659f2324e1ca108d6778cae23c9c3829fb2df077.tar.zst freebsd-ports-gnome-659f2324e1ca108d6778cae23c9c3829fb2df077.zip |
Unbreak on -CURRENT (taskqueue_enqueue_fast(9) removed).
Diffstat (limited to 'misc')
-rw-r--r-- | misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c | 13 | ||||
-rw-r--r-- | misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-ng_dahdi_iface.c | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c b/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c new file mode 100644 index 000000000000..2347d731590e --- /dev/null +++ b/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-bsd-compat.c @@ -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 + */ diff --git a/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-ng_dahdi_iface.c b/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-ng_dahdi_iface.c new file mode 100644 index 000000000000..2a3fd97da021 --- /dev/null +++ b/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-ng_dahdi_iface.c @@ -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; |