diff options
author | demon <demon@FreeBSD.org> | 2013-10-31 19:26:52 +0800 |
---|---|---|
committer | demon <demon@FreeBSD.org> | 2013-10-31 19:26:52 +0800 |
commit | 41477b52d4fe01fcce2bdc627a8b9b868bd04e86 (patch) | |
tree | aa262484e7f7659c35f15436c977aaf6410d5f4e /sysutils | |
parent | 2b2d8123f67c9610166b33dddeaf09235429a48b (diff) | |
download | freebsd-ports-gnome-41477b52d4fe01fcce2bdc627a8b9b868bd04e86.tar.gz freebsd-ports-gnome-41477b52d4fe01fcce2bdc627a8b9b868bd04e86.tar.zst freebsd-ports-gnome-41477b52d4fe01fcce2bdc627a8b9b868bd04e86.zip |
Add a patch removed without any good reasong during last port update.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/rubygem-facter/files/patch-lib-facter-processor.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb b/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb new file mode 100644 index 000000000000..ae77e26caad8 --- /dev/null +++ b/sysutils/rubygem-facter/files/patch-lib-facter-processor.rb @@ -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 |