add some media-sound packages
This commit is contained in:
14
media-sound/rubyripper/files/0.6.2-utf8-fix.patch
Normal file
14
media-sound/rubyripper/files/0.6.2-utf8-fix.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
--- rubyripper/rr_lib.rb 2010-10-16 18:02:03.700000029 +0800
|
||||
+++ rubyripper/rr_lib.rb 2010-10-16 22:27:46.060000028 +0800
|
||||
@@ -2331,8 +2331,8 @@
|
||||
|
||||
command = String.new
|
||||
command.force_encoding("UTF-8") if command.respond_to?("force_encoding")
|
||||
- command +="flac #{@settings['flacsettings']} -o \"#{filename}\" #{tags}\
|
||||
-\"#{@out.getTempFile(track, 1)}\""
|
||||
+ command +="flac #{@settings['flacsettings'].force_encoding("UTF-8")} -o \"#{filename.force_encoding("UTF-8")}\" #{tags.force_encoding("UTF-8")}\
|
||||
+\"#{@out.getTempFile(track, 1).force_encoding("UTF-8")}\""
|
||||
command += " 2>&1" unless @settings['verbose']
|
||||
|
||||
checkCommand(command, track, 'flac')
|
||||
|
||||
Reference in New Issue
Block a user