Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Dec 2014 16:42:41 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r374950 - in head/net-mgmt/ccnet: . files
Message-ID:  <201412191642.sBJGgfdT037068@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Fri Dec 19 16:42:41 2014
New Revision: 374950
URL: https://svnweb.freebsd.org/changeset/ports/374950
QAT: https://qat.redports.org/buildarchive/r374950/

Log:
  net-mgmt/ccnet: Fix kernel thread support for DragonFly
  
  PR:		196006
  Submitted by:	maintainer

Modified:
  head/net-mgmt/ccnet/Makefile
  head/net-mgmt/ccnet/files/patch-lib_utils.c

Modified: head/net-mgmt/ccnet/Makefile
==============================================================================
--- head/net-mgmt/ccnet/Makefile	Fri Dec 19 14:59:10 2014	(r374949)
+++ head/net-mgmt/ccnet/Makefile	Fri Dec 19 16:42:41 2014	(r374950)
@@ -2,7 +2,7 @@
 
 PORTNAME=	ccnet
 PORTVERSION=	3.1.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt devel
 
 MAINTAINER=	yan_jingfeng@yahoo.com

Modified: head/net-mgmt/ccnet/files/patch-lib_utils.c
==============================================================================
--- head/net-mgmt/ccnet/files/patch-lib_utils.c	Fri Dec 19 14:59:10 2014	(r374949)
+++ head/net-mgmt/ccnet/files/patch-lib_utils.c	Fri Dec 19 16:42:41 2014	(r374950)
@@ -92,7 +92,7 @@
 +
 +#elif defined(__DragonFly__)
 +#define	PSKIP(kp) ((kp)->kp_pid == mypid ||			\
-+		   (!kthreads && ((kp)->kp_flags & P_KTHREADP) != 0))
++		   (!kthreads && ((kp)->kp_flags & P_SYSTEM) != 0))
 +#define KVM_OPENFILES(exec, coref, buf) \
 +		kvm_openfiles(exec, coref, NULL, O_RDONLY, buf)
 +#define KVM_GETPROCS(kd, plist, nproc) \



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