gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / ruby / puppet / patches / puppet-08-PUP-2509.patch
blobf45a4d4eb45d53ca3aa1b355dd1cfbc9fe5de778
1 In-house patch to fix upstream bug PUP-2509
2 https://tickets.puppetlabs.com/browse/PUP-2509
3 Patch has been submitted upstream but not yet accepted.
5 --- puppet-3.8.6/lib/puppet/provider/service/smf.rb.orig 2016-04-19 14:53:01.233681735 -0700
6 +++ puppet-3.8.6/lib/puppet/provider/service/smf.rb 2016-04-19 14:53:31.762390677 -0700
7 @@ -36,7 +36,7 @@
8 end
10 def self.instances
11 - svcs.split("\n").select{|l| l !~ /^legacy_run/ }.collect do |line|
12 + svcs("-H").split("\n").select{|l| l !~ /^legacy_run/ }.collect do |line|
13 state,stime,fmri = line.split(/\s+/)
14 status = case state
15 when /online/; :running