From owner-svn-ports-head@FreeBSD.ORG Sat Sep 13 12:21:34 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54C04E9E; Sat, 13 Sep 2014 12:21:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 405881FF; Sat, 13 Sep 2014 12:21:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8DCLYxp089441; Sat, 13 Sep 2014 12:21:34 GMT (envelope-from fjoe@FreeBSD.org) Received: (from fjoe@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8DCLYoa089440; Sat, 13 Sep 2014 12:21:34 GMT (envelope-from fjoe@FreeBSD.org) Message-Id: <201409131221.s8DCLYoa089440@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: fjoe set sender to fjoe@FreeBSD.org using -f From: Max Khon Date: Sat, 13 Sep 2014 12:21:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368086 - 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.18-1 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: Sat, 13 Sep 2014 12:21:34 -0000 Author: fjoe Date: Sat Sep 13 12:21:33 2014 New Revision: 368086 URL: http://svnweb.freebsd.org/changeset/ports/368086 QAT: https://qat.redports.org/buildarchive/r368086/ Log: SYSCTL_ROOT_NODE exists only on FreeBSD >= 1100024 Modified: head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-bsd-compat.c Modified: head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-bsd-compat.c ============================================================================== --- head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-bsd-compat.c Sat Sep 13 12:15:43 2014 (r368085) +++ head/misc/dahdi-kmod/files/patch-freebsd-freebsd-dahdi-bsd-compat.c Sat Sep 13 12:21:33 2014 (r368086) @@ -1,11 +1,14 @@ ---- freebsd/freebsd/dahdi/bsd-compat.c.orig 2014-09-01 00:42:34.000000000 +0700 -+++ freebsd/freebsd/dahdi/bsd-compat.c 2014-09-01 00:47:49.000000000 +0700 -@@ -45,7 +45,7 @@ +--- freebsd/freebsd/dahdi/bsd-compat.c.orig 2014-09-13 19:10:00.000000000 +0700 ++++ freebsd/freebsd/dahdi/bsd-compat.c 2014-09-13 19:10:59.000000000 +0700 +@@ -45,7 +45,11 @@ #include --SYSCTL_NODE(, OID_AUTO, dahdi, CTLFLAG_RW, 0, "DAHDI"); ++#if __FreeBSD_version >= 1100024 +SYSCTL_ROOT_NODE(OID_AUTO, dahdi, CTLFLAG_RW, 0, "DAHDI"); ++#else + SYSCTL_NODE(, OID_AUTO, dahdi, CTLFLAG_RW, 0, "DAHDI"); ++#endif SYSCTL_NODE(_dahdi, OID_AUTO, echocan, CTLFLAG_RW, 0, "DAHDI Echo Cancelers"); /*