Call for Testers: XBMC 10.0

Bernhard Froehlich decke at FreeBSD.org
Mon Dec 13 21:44:05 UTC 2010


On Sun, 12 Dec 2010 13:19:01 +0200, Andriy Gapon <avg at freebsd.org>
wrote:
> on 12/12/2010 12:57 Andriy Gapon said the following:
>> 2. Patch for guilib/StdString.h.
>> @@ -2,6 +2,7 @@
>>  #include <string>
>>  #include <stdint.h>
>>  #include <vector>
>> +#include <cstring>
>>
>>  #if defined(_WIN32) && !defined(va_copy)
>>  #define va_copy(dst, src) ((dst) = (src))
>>
>> This is needed because of the existing patch that introduces memset.
>> gcc44 unlike base gcc doesn't see memset definition through other headers, but
>> needs an explicit include.
> 
> Oh, and another one for xbmc/utils/IoSupport.cpp:
> @@ -53,6 +53,9 @@
>  #include <IOKit/storage/IODVDMediaBSDClient.h>
>  #include <IOKit/storage/IOStorageDeviceCharacteristics.h>
>  #endif
> +#ifdef __FreeBSD__
> +#include <sys/syslimits.h>
> +#endif
>  #include "../FileSystem/cdioSupport.h"
>  #include "../FileSystem/iso9660.h"
>  #include "../MediaManager.h"
> 
> It's need for PATH_MAX definition with gcc44.

Thanks! I've added all 3 patches to the port.

http://svn.bluelife.at/index.cgi/blueports/revision/?rev=1086

-- 
Bernhard Froehlich
http://www.bluelife.at/


More information about the freebsd-multimedia mailing list