Call for Testers: XBMC 10.0

Andriy Gapon avg at freebsd.org
Sun Dec 12 11:19:05 UTC 2010


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.

-- 
Andriy Gapon


More information about the freebsd-multimedia mailing list