Date: Mon, 13 Dec 2010 21:44:04 +0000 From: Bernhard Froehlich <decke@FreeBSD.org> To: Andriy Gapon <avg@freebsd.org> Cc: multimedia@freebsd.org Subject: Re: Call for Testers: XBMC 10.0 Message-ID: <134ff84b4bcfc1fe7831ba84958e7226@bluelife.at> In-Reply-To: <4D04AFA5.5010504@freebsd.org> References: <20101208192132.51c9937f@FreeBSD.org> <4D03D5B5.8050709@freebsd.org> <1292143026.3455.2.camel@Nokia-N900-42-11> <4D04AAAA.3050603@freebsd.org> <4D04AFA5.5010504@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 12 Dec 2010 13:19:01 +0200, Andriy Gapon <avg@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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?134ff84b4bcfc1fe7831ba84958e7226>