From owner-svn-ports-head@freebsd.org Fri Mar 11 07:19:20 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 34CD4ACC401; Fri, 11 Mar 2016 07:19:20 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 06FB37D9; Fri, 11 Mar 2016 07:19:19 +0000 (UTC) (envelope-from fjoe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u2B7JJ5V004839; Fri, 11 Mar 2016 07:19:19 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u2B7JJqJ004838; Fri, 11 Mar 2016 07:19:19 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201603110719.u2B7JJqJ004838@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Fri, 11 Mar 2016 07:19:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r410808 - head/misc/dahdi-kmod/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2016 07:19:20 -0000 Author: fjoe Date: Fri Mar 11 07:19:18 2016 New Revision: 410808 URL: https://svnweb.freebsd.org/changeset/ports/410808 Log: Unbreak on -CURRENT (taskqueue_enqueue_fast(9) removed). Modified: head/misc/dahdi-kmod/files/patch-freebsd-include-dahdi-compat-bsd.h Modified: head/misc/dahdi-kmod/files/patch-freebsd-include-dahdi-compat-bsd.h ============================================================================== --- head/misc/dahdi-kmod/files/patch-freebsd-include-dahdi-compat-bsd.h Fri Mar 11 07:18:59 2016 (r410807) +++ head/misc/dahdi-kmod/files/patch-freebsd-include-dahdi-compat-bsd.h Fri Mar 11 07:19:18 2016 (r410808) @@ -1,6 +1,17 @@ ---- freebsd/include/dahdi/compat/bsd.h.orig 2015-03-22 00:41:01.923397000 +0600 -+++ freebsd/include/dahdi/compat/bsd.h 2015-03-22 00:51:34.101470000 +0600 -@@ -66,9 +66,11 @@ +--- freebsd/include/dahdi/compat/bsd.h.orig 2016-03-11 06:59:31.516533000 +0000 ++++ freebsd/include/dahdi/compat/bsd.h 2016-03-11 07:05:34.327218000 +0000 +@@ -45,6 +45,10 @@ + #include + #include + ++#if __FreeBSD_version >= 1100101 ++#define taskqueue_enqueue_fast(queue, task) taskqueue_enqueue(queue, task) ++#endif ++ + #define D_VERSION_LINEAR (((D_VERSION & 0xffff) << 16) | (((D_VERSION >> 16) & 0xff) << 8) | ((D_VERSION >> 24) & 0xff)) + + #define LINUX_VERSION_CODE KERNEL_VERSION(2, 6, 32) +@@ -66,9 +70,11 @@ #define __be32 u_int32_t #if _BYTE_ORDER == _LITTLE_ENDIAN @@ -12,7 +23,7 @@ #define __BIG_ENDIAN_BITFIELD #define __constant_htons(x) (x) #endif -@@ -454,7 +456,7 @@ +@@ -454,7 +460,7 @@ #define _module_ptr_args __CONCAT(_module_ptr_args_, __LINE__) #define _module_ptr_init(field, val) \ static struct module_ptr_args _module_ptr_args = { \