diff options
author | Chernov V. V <manbornofwoman@gmail.com> | 2014-02-01 01:16:36 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-02-01 00:40:34 -0600 |
commit | fdaa8fe0799d5f5b57bd8b124bb654522da3e355 (patch) | |
tree | 032bed3753b9fb4d2e473b32350225c5d8a73b7a /audio/easymp3gain/patches | |
parent | 15f29f5a0d7727f3b111d618294b0c1d6f0fd978 (diff) | |
download | slackbuilds-fdaa8fe0799d5f5b57bd8b124bb654522da3e355.tar.gz |
audio/easymp3gain: Added patches to fix compile against new FPC.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/easymp3gain/patches')
-rw-r--r-- | audio/easymp3gain/patches/02_fix-new-fpc-compile.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/easymp3gain/patches/02_fix-new-fpc-compile.patch b/audio/easymp3gain/patches/02_fix-new-fpc-compile.patch new file mode 100644 index 0000000000..3d2994f4dc --- /dev/null +++ b/audio/easymp3gain/patches/02_fix-new-fpc-compile.patch @@ -0,0 +1,16 @@ +Description: Fix compilation with more recent versions of FPC + This also improves code-quality and fixes warnings. +Forwarded: yes +Author: Matthias Klumpp <mak@debian.org> + +--- a/unitmain.pas ++++ b/unitmain.pas +@@ -169,7 +169,7 @@ + procedure AddFileAndDirectoryList(SL: TStringList; sublevels: Integer); + procedure UpdateFileCount; + procedure SortListView(Lv:TListView; Index:integer; Reverse: Boolean); +- function AddTask(ASongItem: TSongItem; AMediaGainAction: TMediaGainAction; AVolume: Double): Integer; ++ function AddTask(ASongItem: TSongItem; AMediaGainAction: TMediaGainAction; AVolume: Double): Integer; overload; + function FitsTaskType(ATask: TMediaGainTask; AMediaGainAction: TMediaGainAction; ASongItem: TSongItem): Boolean; + { private declarations } + public |