Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2013 11:26:52 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332225 - head/sysutils/rubygem-facter/files
Message-ID:  <201310311126.r9VBQqsR056584@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: demon
Date: Thu Oct 31 11:26:52 2013
New Revision: 332225
URL: http://svnweb.freebsd.org/changeset/ports/332225

Log:
  Add a patch removed without any good reasong during last port update.

Added:
  head/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb   (contents, props changed)

Added: head/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb	Thu Oct 31 11:26:52 2013	(r332225)
@@ -0,0 +1,19 @@
+--- lib/facter/processor.rb.orig	2013-04-30 19:57:21.000000000 +0400
++++ lib/facter/processor.rb	2013-04-30 19:58:19.000000000 +0400
+@@ -88,14 +88,14 @@
+ end
+ 
+ Facter.add("Processor") do
+-  confine :kernel => :openbsd
++  confine :kernel => [ :openbsd, :freebsd ]
+   setcode do
+     Facter::Util::Resolution.exec("uname -p")
+   end
+ end
+ 
+ Facter.add("ProcessorCount") do
+-  confine :kernel => :openbsd
++  confine :kernel => [ :openbsd, :freebsd ]
+   setcode do
+     Facter::Util::Resolution.exec("sysctl -n hw.ncpu")
+   end



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