gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] Compilation patch for FreeBSD


From: strk
Subject: Re: [Gnash-dev] Compilation patch for FreeBSD
Date: Mon, 18 Sep 2006 10:10:48 +0200

This patch doesn't cleanly apply anymore.
Could you please provide a new one (if still needed) ?

BTW, we should really get rid of tu_types.h usage, and
also make sure we need bsp.cpp.

--strk;

On Wed, Sep 06, 2006 at 10:14:48PM -0400, Mike Heffner wrote:
> FWIW:
> 
> The following patch fixes the compile on a FreeBSD 6.0 x86 machine.
> 
> 
> Cheers,
> 
> Mike
> 
> -- 
> 
>   Mike Heffner  <address@hidden>
>                     <address@hidden>
> 

> Index: libbase/tu_types.h
> ===================================================================
> RCS file: /sources/gnash/gnash/libbase/tu_types.h,v
> retrieving revision 1.19
> diff -u -r1.19 tu_types.h
> --- libbase/tu_types.h        29 Aug 2006 22:37:06 -0000      1.19
> +++ libbase/tu_types.h        7 Sep 2006 02:13:20 -0000
> @@ -71,6 +71,8 @@
>  #ifndef BYTE_ORDER
>  #if defined(__sgi) || defined(SGI) || defined(__sgi__)
>       #include <sys/endian.h>
> +#elif defined(__FreeBSD__)
> +     #include <machine/endian.h>
>  #else
>       #include <endian.h>
>  #endif
> Index: libgeometry/bsp.cpp
> ===================================================================
> RCS file: /sources/gnash/gnash/libgeometry/bsp.cpp,v
> retrieving revision 1.7
> diff -u -r1.7 bsp.cpp
> --- libgeometry/bsp.cpp       30 Aug 2006 13:50:05 -0000      1.7
> +++ libgeometry/bsp.cpp       7 Sep 2006 02:13:22 -0000
> @@ -6,7 +6,7 @@
>  
>  #include <cstdio>
>  #include <cmath>
> -#include <malloc.h>
> +#include <stdlib.h>
>  
>  #include "utility.h"
>  #include "bsp.h"

> _______________________________________________
> Gnash-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnash-dev


-- 

 /"\    ASCII Ribbon Campaign
 \ /    Respect for low technology.
  X     Keep e-mail messages readable by any computer system.
 / \    Keep it ASCII. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]