svn commit: r332225 - head/sysutils/rubygem-facter/files

Dmitry Sivachenko demon at FreeBSD.org
Thu Oct 31 11:26:53 UTC 2013


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


More information about the svn-ports-all mailing list