Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Sep 2014 12:21:34 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368086 - head/misc/dahdi-kmod/files
Message-ID:  <201409131221.s8DCLYoa089440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <dahdi/compat/bsd.h>
  
--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");
  
  /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409131221.s8DCLYoa089440>