From owner-svn-ports-head@freebsd.org Thu Apr 14 15:33:21 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2033B10146; Thu, 14 Apr 2016 15:33:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6F55B1F97; Thu, 14 Apr 2016 15:33:21 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3EFXKTo032786; Thu, 14 Apr 2016 15:33:20 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3EFXKEG032785; Thu, 14 Apr 2016 15:33:20 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201604141533.u3EFXKEG032785@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 14 Apr 2016 15:33:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413269 - head/sysutils/p5-BSD-Process/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 15:33:21 -0000 Author: amdmi3 Date: Thu Apr 14 15:33:20 2016 New Revision: 413269 URL: https://svnweb.freebsd.org/changeset/ports/413269 Log: - Fix build on 11.x Approved by: swills@FreeBSD.org (maintainer) Added: head/sysutils/p5-BSD-Process/files/ head/sysutils/p5-BSD-Process/files/patch-Process.xs (contents, props changed) Added: head/sysutils/p5-BSD-Process/files/patch-Process.xs ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/p5-BSD-Process/files/patch-Process.xs Thu Apr 14 15:33:20 2016 (r413269) @@ -0,0 +1,15 @@ +--- Process.xs.orig 2013-06-22 16:19:28 UTC ++++ Process.xs +@@ -291,7 +291,12 @@ HV *_procinfo (struct kinfo_proc *kp, in + + hv_store(h, "advlock", 7, newSViv(NO_FREEBSD_4x(P_FLAG(P_ADVLOCK))), 0); + hv_store(h, "controlt", 8, newSViv(NO_FREEBSD_4x(P_FLAG(P_CONTROLT))), 0); ++ ++#if __FreeBSD_version < 1100097 + hv_store(h, "kthread", 7, newSViv(NO_FREEBSD_4x(P_FLAG(P_KTHREAD))), 0); ++#else ++ hv_store(h, "kthread", 7, newSViv(NO_FREEBSD_4x(P_FLAG(P_KPROC))), 0); ++#endif + #if __FreeBSD_version < 802501 + hv_store(h, "noload", 6, newSViv(NO_FREEBSD_4x(P_FLAG(P_NOLOAD))), 0); + #endif