aaxtomp3: drop osh patch

Upstream has resolved oilshell/oil#1446, and nixpkgs consumed the fix.

-19
-4
pkgs/applications/audio/aaxtomp3/default.nix
··· 27 27 hash = "sha256-7a9ZVvobWH/gPxa3cFiPL+vlu8h1Dxtcq0trm3HzlQg="; 28 28 }; 29 29 30 - # use whitespace to show osh arithmetic is not file redirection 31 - # see: https://github.com/oilshell/oil/issues/1446 32 - patches = [./osh.patch]; 33 - 34 30 postPatch = '' 35 31 substituteInPlace AAXtoMP3 \ 36 32 --replace 'AAXtoMP3' 'aaxtomp3'
-15
pkgs/applications/audio/aaxtomp3/osh.patch
··· 1 - diff --git a/AAXtoMP3 b/AAXtoMP3 2 - index 90566ad..71e94da 100755 3 - --- a/AAXtoMP3 4 - +++ b/AAXtoMP3 5 - @@ -200,8 +200,8 @@ progressbar() { 6 - 7 - #draw progressbar with one # for every 5% and blank spaces for the missing part. 8 - progressbar="" 9 - - for (( n=0; n<(percentage/5); n++ )) ; do progressbar="$progressbar#"; done 10 - - for (( n=0; n<(20-(percentage/5)); n++ )) ; do progressbar="$progressbar "; done 11 - + for (( n=0; n< (percentage/5); n++ )) ; do progressbar="$progressbar#"; done 12 - + for (( n=0; n< (20-(percentage/5)); n++ )) ; do progressbar="$progressbar "; done 13 - 14 - #print progressbar 15 - echo -ne "Chapter splitting: |$progressbar| $print_percentage% ($part/$total chapters)\r"