Created attachment 150615 [details] patch The P_KTHREADP never works in DragonflyBSD. P_KTHREADP is removed from its kernel 4.0. It is suggested to use P_SYSTEM.
Created attachment 150616 [details] patch
forget to add you into the cc list.
A commit references this bug: Author: marino Date: Fri Dec 19 16:42:42 UTC 2014 New revision: 374950 URL: https://svnweb.freebsd.org/changeset/ports/374950 Log: net-mgmt/ccnet: Fix kernel thread support for DragonFly PR: 196006 Submitted by: maintainer Changes: head/net-mgmt/ccnet/Makefile head/net-mgmt/ccnet/files/patch-lib_utils.c
Thanks. FYI, "svn patch" resulted in corruption again. I think it must be a missing new line somewhere.