Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2014 10:47:49 +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: r343453 - head/misc/dahdi-kmod26/files
Message-ID:  <201402091047.s19AlnP5064841@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Sun Feb  9 10:47:49 2014
New Revision: 343453
URL: http://svnweb.freebsd.org/changeset/ports/343453
QAT: https://qat.redports.org/buildarchive/r343453/

Log:
  Fix FreeBSD 10 (and later) compilation patch (FreeBSD version check).

Modified:
  head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c

Modified: head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c
==============================================================================
--- head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c	Sun Feb  9 10:46:23 2014	(r343452)
+++ head/misc/dahdi-kmod26/files/patch-drivers-dahdi-dahdi-base.c	Sun Feb  9 10:47:49 2014	(r343453)
@@ -1,9 +1,11 @@
---- drivers/dahdi/dahdi-base.c.orig	2013-11-18 19:11:51.000000000 +0700
-+++ drivers/dahdi/dahdi-base.c	2013-11-18 19:12:07.000000000 +0700
-@@ -10224,6 +10224,8 @@
+--- drivers/dahdi/dahdi-base.c.orig	2012-09-28 02:45:03.000000000 +0700
++++ drivers/dahdi/dahdi-base.c	2014-02-09 17:45:02.000000000 +0700
+@@ -10223,7 +10223,9 @@
+ 	.d_ioctl	= dahdi_device_ioctl,
  	.d_poll		= dahdi_device_poll,
  	.d_name		= "dahdi",
- #if __FreeBSD_version >= 800039
+-#if __FreeBSD_version >= 800039
++#if __FreeBSD_version >= 1000000
 +	.d_flags	= D_TRACKCLOSE | D_NEEDMINOR
 +#elif __FreeBSD_version >= 800039
  	.d_flags	= D_PSEUDO | D_TRACKCLOSE | D_NEEDMINOR



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