Date: Sat, 13 Sep 2014 12:26:07 +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: r368087 - head/misc/dahdi-kmod26/files Message-ID: <201409131226.s8DCQ7e6090184@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: fjoe Date: Sat Sep 13 12:26:07 2014 New Revision: 368087 URL: http://svnweb.freebsd.org/changeset/ports/368087 QAT: https://qat.redports.org/buildarchive/r368087/ Log: SYSCTL_ROOT_NODE exists only on FreeBSD >= 1100024 Modified: head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-dahdi-bsd.c Modified: head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-dahdi-bsd.c ============================================================================== --- head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-dahdi-bsd.c Sat Sep 13 12:21:33 2014 (r368086) +++ head/misc/dahdi-kmod26/files/patch-bsd-kmod-dahdi-dahdi-bsd.c Sat Sep 13 12:26:07 2014 (r368087) @@ -1,11 +1,14 @@ ---- bsd-kmod/dahdi/dahdi-bsd.c.orig 2014-09-01 01:18:32.000000000 +0700 -+++ bsd-kmod/dahdi/dahdi-bsd.c 2014-09-01 01:18:41.000000000 +0700 -@@ -38,7 +38,7 @@ +--- bsd-kmod/dahdi/dahdi-bsd.c.orig 2012-09-28 02:45:50.000000000 +0700 ++++ bsd-kmod/dahdi/dahdi-bsd.c 2014-09-13 19:23:54.000000000 +0700 +@@ -38,7 +38,11 @@ MALLOC_DEFINE(M_DAHDI, "dahdi", "DAHDI interface data structures"); --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"); void
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409131226.s8DCQ7e6090184>