Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 15:33:20 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
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
Message-ID:  <201604141533.u3EFXKEG032785@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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