On Sun, Aug 31, 2008 at 10:37:28AM -0700, Brian wrote:
> I'm slowly working on my first port, and I ran into a problem during the 
> build.  I have had to make this change:
> 
> Index: voicefile.cpp
> ===================================================================
> --- voicefile.cpp       (revision 18363)
> +++ voicefile.cpp       (working copy)
> @@ -43,7 +43,8 @@
>      // test if tempdir exists
>      if(!QDir(QDir::tempPath()+"/rbvoice/").exists())
>      {
> -        QDir(QDir::tempPath()).mkdir("rbvoice");
> +       QDir dir = QDir::tempPath();
> +        dir.mkdir("rbvoice");
>      }
> 
> Does anybody know why I would have a problem with this line:
> 
>  QDir(QDir::tempPath()).mkdir("rbvoice");
> 
> I'm hoping some of the port gurus here can help me out.  I am hoping to get 
> as many of my diffs into the app's tree as possible, but I cannot explain why 
> this hack was necessary. 
> 
> Thanks,
> 
> Brian

I believe I saw something like that when playing with psi 0.12 port,
this is caused by gcc3, it would probably build fine with gcc4. You can
try, but I would also wait for more knowledgeable people to comment ;)
-- 
viq

Attachment: pgpq5VG9fUfMI.pgp
Description: PGP signature

Reply via email to