thanks for your donation, and thanks for the patch. However, please note:
1. wxGTK 2.4 is quite old. Audacity 1.3 (that is, CVS HEAD) is supposed to be compiled with wxGTK 2.6. You seem to have wxGTK 2.4 installed. Most (if not all) of the problems mentioned should go away if you use a newer version of wxGTK. I admit that this dependency could be made more clear; infact, we should try to fix ./configure for the 1.3 release or at least put a prominent notice into the release notes or compile.txt about this.
2. Your patch does technically work, but it actually introduces new bugs. E.g., some lines are just commented out, although they do serve a purpose (otherwise they obviously wouldn't be there in the first place). On other places, a correct "len=GetLength()" is replaced by "len=0", which will create problems on runtime.
>Hi folks -
>Audacity 1.3 CVS does not compile on Fedora Core 4 using the default gcc
>4.01... but the problems are very minor!
>Here is a little file of patches that should apply to the current CVS.
>Three of the patches need looking at harder
> - wxMilliSleep() has been deprecated and has gone away on the
>wxGTK2-devel-2.4.2 I am compiling against. So I #defined it through to
>usleep()... which is not portable. I bet it can be #if-ed into
>portability easily by people more familiar with wxWindows.
> - wxFocusEventHandler() doesn't exist anywhere in the wx includes or
>anywhere else other than some usages in SelectionBar.cpp, which I
> - UploadDialog.cpp wants to GetLength() on a wxInputStream... but
>wxInputStream has no GetLength() member...
>Please examine this small list of patches so FC4 people can compile happily.
><manipulativeness guilt=on>I donataed $20 to your project