summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mp32ogg/files/mp32ogg-0.11-r6-force-filename-stringification.patch')
-rw-r--r--media-sound/mp32ogg/files/mp32ogg-0.11-r6-force-filename-stringification.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-sound/mp32ogg/files/mp32ogg-0.11-r6-force-filename-stringification.patch b/media-sound/mp32ogg/files/mp32ogg-0.11-r6-force-filename-stringification.patch
new file mode 100644
index 000000000000..65f7a83454fa
--- /dev/null
+++ b/media-sound/mp32ogg/files/mp32ogg-0.11-r6-force-filename-stringification.patch
@@ -0,0 +1,16 @@
+http://bugs.gentoo.org/328953
+http://qa.mandriva.com/53477
+
+--- mp32ogg
++++ mp32ogg
+@@ -167,7 +167,9 @@
+ }
+
+ sub ConvertFile() {
+- my $mp3file = shift(@_);
++ # force arg stringfication to get actual filename, not getopt::long
++ # callback
++ my $mp3file = "" . shift(@_);
+ my $delete = $opt_delete;
+ my $filename = $opt_rename;
+ my $lowercase = $opt_lowercase;