Description: Hard-code the position of the `propids.yaml' file, as it
 we know it known beforehand.
 .
 This patch was created at package creation time (hence no bug number)
 and is Debian-specific.
Origin: vendor
Forwarded: not-needed
Author: Gunnar Wolf <gwolf@debian.org>
--- ruby-ole.orig/lib/ole/types/property_set.rb
+++ ruby-ole/lib/ole/types/property_set.rb
@@ -24,7 +24,13 @@
 			}
 
 			# define a smattering of the property set guids. 
-			DATA = YAML.load_file(File.dirname(__FILE__) + '/../../../data/propids.yaml').
+                        propids = [ '/usr/share/ruby-ole/propids.yaml',
+                                    File.dirname(__FILE__) + '/../../../../../share/ruby-ole/data/propids.yaml',
+                                    File.dirname(__FILE__) + '/../../../data/propids.yaml'
+                                  ].select { |filepath|
+                                 File.exists?(filepath) }.first
+                        raise Exception, 'propids.yaml file could not be found' if propids.nil?
+                        DATA = YAML.load_file(propids).
 				inject({}) { |hash, (key, value)| hash.update Clsid.parse(key) => value }
 
 			# create an inverted map of names to guid/key pairs
