Hi.
I am very new to aMule. I tried to compile it several
months ago, and it failed. I tried now, and it failed the
same way. So I thought I'd better fix it myself. The patch
is attached. Apparently aMule uses some things that
are no longer supported by wx (I am updating my wx
from CVS, which is probably why I can't compile aMule).
What the patch does:
1. wxNode* --> compatibility_iterator is an easy one.
2. Removal of wxString::GetWriteBuf() and wxString::UngetWriteBuf()
is a bit fishy: the wx docs do not say these methods are
no longer supported, but apparently they are not available
if you build the wx with the STL support. But in any case
these were unused by aMule, so I just removed them.
3. Apart from the compilation problems, I also had to fix
one runtime bug, which was that the wxString object
returned by thePrefs::GetLanguageID() was not checked
for being an empty string, and so GetChar(0) asserts.
With this patch the aMule compiles and starts up successfully.
There are also some other disturbing problems I have,
which is that I was not able to find the following things:
1. aMule CVS server (so had to download the full snapshots
every time, which is silly)
2. aMule patch tracker (so had to use this forum, sorry).
Can you please give me a hint as to where to find those?
I visited the SF page, but even there there are no such things!
Btw, if the Joy-User can't find such an important things,
then I guess the web page is in need of some update to
get those things more apparent. Or am I just blind?
