On Sep 9, 2008, at 6:39 AM, Dominique Dhumieres wrote:

> James,
>
> Thanks for the answer.
>
>> ... but have you tried doing the following for a fix? ...
>
> I have done the following change:
>
> --- wxWidgets-2.6.3-old/src/mac/carbon/morefilex/MoreFilesX.h  
> 2004-12-12 11:00:39.000000000 +0100
> +++ wxWidgets-2.6.3/src/mac/carbon/morefilex/MoreFilesX.h     2008-09-09  
> 12:13:36.000000000 +0200
> @@ -1482,9 +1482,9 @@
>
> #pragma mark FSVolumeMount
>
> -OSErr
> +OSStatus
> FSVolumeMount(
> -     const void *volMountInfo,
> +     UInt8* volMountInfo,
>       FSVolumeRefNum *volRefNum);
>
> /*
>
> Now I get a failure at:
>
> ./bk-deps g++ -c -o basedll_thread.o -I.pch/wxprec_basedll - 
> D__WXMAC__            -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE - 
> DwxUSE_BASE=1 -dynamic -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA - 
> Ilib/wx/include/mac-ansi-release-2.6 -I./include -I/sw/include - 
> D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fpascal-strings -I./src/mac/ 
> carbon/morefilex -I/Developer/Headers/FlatCarbon -O2 -fno-strict- 
> aliasing -Wall -Wundef -Wno-ctor-dtor-privacy -fno-common ./src/mac/ 
> carbon/thread.cpp
> ./src/mac/carbon/thread.cpp: In static member function 'static  
> OSStatus wxThreadInternal::MacThreadStart(void*)':
> ./src/mac/carbon/thread.cpp:1022: error: invalid conversion from  
> 'long int' to 'void*'
> ./src/mac/carbon/thread.cpp:1022: error:   initializing argument 2  
> of 'OSStatus MPSetTaskStorageValue(TaskStorageIndex, void*)'
>
> Dominique
>

There seem only to be a few packages that actually depend on wxmac, so  
another option is to try to get those to use the newer (and functional  
on Leopard) wxmac28.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to