Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Dec 2010 13:19:01 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        =?UTF-8?B?QmVybmhhcmQgRnLDtmhsaWNo?= <decke@bluelife.at>
Cc:        multimedia@freebsd.org
Subject:   Re: Call for Testers: XBMC 10.0
Message-ID:  <4D04AFA5.5010504@freebsd.org>
In-Reply-To: <4D04AAAA.3050603@freebsd.org>
References:  <20101208192132.51c9937f@FreeBSD.org>	 <4D03D5B5.8050709@freebsd.org> <1292143026.3455.2.camel@Nokia-N900-42-11> <4D04AAAA.3050603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D04AFA5.5010504>