Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2014 12:41:56 +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: r374802 - in head/net-mgmt/seafile: . files
Message-ID:  <201412161241.sBGCfuf5064426@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Tue Dec 16 12:41:55 2014
New Revision: 374802
URL: https://svnweb.freebsd.org/changeset/ports/374802
QAT: https://qat.redports.org/buildarchive/r374802/

Log:
  net-mgmt/seafile: Fix kernel thread support on DragonFly
  
  PR:		196008
  Submitted by:	maintainer

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

Modified: head/net-mgmt/seafile/Makefile
==============================================================================
--- head/net-mgmt/seafile/Makefile	Tue Dec 16 12:40:37 2014	(r374801)
+++ head/net-mgmt/seafile/Makefile	Tue Dec 16 12:41:55 2014	(r374802)
@@ -2,7 +2,7 @@
 
 PORTNAME=	seafile
 PORTVERSION=	3.1.4
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt devel
 
 MAINTAINER=	yan_jingfeng@yahoo.com

Modified: head/net-mgmt/seafile/files/patch-lib_utils.c
==============================================================================
--- head/net-mgmt/seafile/files/patch-lib_utils.c	Tue Dec 16 12:40:37 2014	(r374801)
+++ head/net-mgmt/seafile/files/patch-lib_utils.c	Tue Dec 16 12:41:55 2014	(r374802)
@@ -87,11 +87,10 @@
 +
 +#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) \
-+		kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc)
++#define KVM_GETPROCS(kd, plist, nproc) \+		kvm_getprocs(kd, KERN_PROC_ALL, 0, &nproc)
 +
 +#elif defined(__NetBSD__)
 +#define	PSKIP(kp) ((kp)->kp_pid == mypid ||			\



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