gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] Compilation patch for FreeBSD


From: Mike Heffner
Subject: [Gnash-dev] Compilation patch for FreeBSD
Date: Wed, 06 Sep 2006 22:14:48 -0400
User-agent: Thunderbird 1.5 (X11/20060119)

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"

reply via email to

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