Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amule does correctly compile on gentoo-ppc (with this patch)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
aronchi
Tux's lil' helper
Tux's lil' helper


Joined: 23 Nov 2004
Posts: 94

PostPosted: Wed Dec 01, 2004 12:20 am    Post subject: amule does correctly compile on gentoo-ppc (with this patch) Reply with quote

I've applied this patch:

Code:
diff -ur aMule-2.0.0rc7/src/utils/aLinkCreator/src/ed2khash.cpp aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/ed2khash.cpp
--- aMule-2.0.0rc7/src/utils/aLinkCreator/src/ed2khash.cpp      2004-08-09 19:01:34.000000000 +0200
+++ aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/ed2khash.cpp   2004-12-01 00:43:15.061834816 +0100
@@ -83,7 +83,7 @@
 {
   // Open file and let wxFFile destructor close the file
   // Closing it explicitly may crash on Win32 ...
-  wxFFile file(filename.GetFullPath(), wxT("rbS"));
+  wxFFile file( (const wxChar*) filename.GetFullPath(),  (const char*) wxT("rbS"));
   if (! file.IsOpened())
     {
       wxLogError (_("Unable to open %s"),unicode2char(filename.GetFullPath()));
diff -ur aMule-2.0.0rc7/src/utils/aLinkCreator/src/md4.cpp aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/md4.cpp
--- aMule-2.0.0rc7/src/utils/aLinkCreator/src/md4.cpp   2004-08-30 00:27:04.000000000 +0200
+++ aMule-2.0.0rc7-ar/src/utils/aLinkCreator/src/md4.cpp        2004-12-01 00:43:15.037838464 +0100
@@ -336,7 +336,7 @@

   // Open file and let wxFFile destructor close the file
   // Closing it explicitly may crash on Win32 ...
-  wxFFile file(filename, wxT("rbS"));
+  wxFFile file((const wxChar*) filename, (const char*) wxT("rbS"));
   if (! file.IsOpened())
     {
       return wxEmptyString;


to the aMule-2.0.0rc7.tar.bz2 source file and now this compiles correctly. How can I send this contribution to make amule works on our linux-ppc gentoo?
_________________
Alessandro Ronchi Home Page
SOASI: Sviluppo Software e Sistemi Open Source Forlì
Back to top
View user's profile Send private message
iTux
Guru
Guru


Joined: 07 Sep 2004
Posts: 586
Location: Toronto

PostPosted: Wed Dec 01, 2004 9:10 am    Post subject: Reply with quote

Hi,

Post a bug report:
bugs.gentoo.org


iTux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum