summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/volwheel/files/volwheel-0.2.8-perl516.patch')
-rw-r--r--media-sound/volwheel/files/volwheel-0.2.8-perl516.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/media-sound/volwheel/files/volwheel-0.2.8-perl516.patch b/media-sound/volwheel/files/volwheel-0.2.8-perl516.patch
new file mode 100644
index 000000000000..130d9b7c331f
--- /dev/null
+++ b/media-sound/volwheel/files/volwheel-0.2.8-perl516.patch
@@ -0,0 +1,36 @@
+http://code.google.com/p/olwtools/issues/detail?id=8
+
+--- install.pl
++++ install.pl
+@@ -2,7 +2,6 @@
+
+ use strict;
+ use warnings;
+-use Shell qw(install cp);
+
+ my $package = "volwheel";
+
+@@ -33,17 +32,17 @@
+ system("sed -i 's|/usr/local|$prefix|g\' volwheel");
+ }
+
+-my $output = install ("-v -d {$bindir,$libdir,$datadir,$hicolor,$desktop}");
++my $output = qx|install -v -d {$bindir,$libdir,$datadir,$hicolor,$desktop}|;
+ print $output;
+-$output = install ("-v -m755 volwheel $bindir");
++$output = qx|install -v -m755 volwheel $bindir|;
+ print $output;
+-$output = install ("-v -m644 lib/* $libdir");
++$output = qx|install -v -m644 lib/* $libdir|;
+ print $output;
+-$output = cp ("-v -r icons $datadir/");
++$output = qx|cp -v -r icons $datadir/|;
+ print $output;
+-$output = install ("-v -m644 icons/volwheel.svg $hicolor");
++$output = qx|install -v -m644 icons/volwheel.svg $hicolor|;
+ print $output;
+-$output = install ("-v -m644 volwheel.desktop $desktop");
++$output = qx|install -v -m644 volwheel.desktop $desktop|;
+
+ print "\nVolWheel has been succesfully installed.\n\n";
+