diff -Nru compass-slickmap-plugin-0.5.1.1/debian/changelog compass-slickmap-plugin-0.5.1.1/debian/changelog --- compass-slickmap-plugin-0.5.1.1/debian/changelog 2017-01-23 14:11:31.000000000 +0000 +++ compass-slickmap-plugin-0.5.1.1/debian/changelog 2017-03-04 19:17:03.000000000 +0000 @@ -1,3 +1,10 @@ +compass-slickmap-plugin (0.5.1.1-5) unstable; urgency=medium + + * Fix patch 2001 to work with compass. + Closes: Bug#854304. + + -- Jonas Smedegaard Sat, 04 Mar 2017 20:17:03 +0100 + compass-slickmap-plugin (0.5.1.1-4) unstable; urgency=medium * Add patch 2001 to fix point to framework below /usr/share. diff -Nru compass-slickmap-plugin-0.5.1.1/debian/patches/2001-frameworks-below-usr-share.patch compass-slickmap-plugin-0.5.1.1/debian/patches/2001-frameworks-below-usr-share.patch --- compass-slickmap-plugin-0.5.1.1/debian/patches/2001-frameworks-below-usr-share.patch 2017-01-23 13:04:03.000000000 +0000 +++ compass-slickmap-plugin-0.5.1.1/debian/patches/2001-frameworks-below-usr-share.patch 2017-02-05 21:24:33.000000000 +0000 @@ -20,7 +20,7 @@ - :stylesheets_directory => File.join(File.dirname(__FILE__), 'compass-slickmap', 'stylesheets'), - :templates_directory => File.join(File.dirname(__FILE__), 'compass-slickmap', 'templates')) \ No newline at end of file -+base_directory = File.expand_path(/usr/share/compass/frameworks/slickmap) ++base_directory = Dir.new('/usr/share/compass/frameworks/slickmap') +stylesheets_path = File.join(base_directory, 'stylesheets') + +if (defined? Compass)