Hi,

attached are some compile fixes


a.
>From 4c55b1dade212fb34ded2171fcb02365ea3410f4 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Andr=C3=A9=20Draszik?= <andre.dras...@st.com>
Date: Sat, 21 Mar 2009 03:42:58 +0000
Subject: [PATCH] (build) fix build failure in case $(top_builddir) != 
$(top_srcdir)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

Signed-off-by: André Draszik <g...@andred.net>
---
 proxy/dispatcher/Makefile.am |    1 +
 proxy/requestor/Makefile.am  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/proxy/dispatcher/Makefile.am b/proxy/dispatcher/Makefile.am
index 6565ed4..7710a7c 100644
--- a/proxy/dispatcher/Makefile.am
+++ b/proxy/dispatcher/Makefile.am
@@ -16,6 +16,7 @@ idirectfbwindowdir        = $(INTERFACES_DIR)/IDirectFBWindow
 idirectfbvideoproviderdir = $(INTERFACES_DIR)/IDirectFBVideoProvider
 
 INCLUDES = \
+       -I$(top_builddir)/include       \
        -I$(top_srcdir)/include         \
        -I$(top_srcdir)/lib             \
        -I$(top_builddir)/lib           \
diff --git a/proxy/requestor/Makefile.am b/proxy/requestor/Makefile.am
index 3a8ef09..13a4354 100644
--- a/proxy/requestor/Makefile.am
+++ b/proxy/requestor/Makefile.am
@@ -16,6 +16,7 @@ idirectfbwindowdir        = $(INTERFACES_DIR)/IDirectFBWindow
 idirectfbvideoproviderdir = $(INTERFACES_DIR)/IDirectFBVideoProvider
 
 INCLUDES = \
+       -I$(top_builddir)/include               \
        -I$(top_srcdir)/include                 \
        -I$(top_srcdir)/lib                     \
        -I$(top_builddir)/lib                   \
-- 
1.5.6.3

>From eb8e1f0a108f4f489a2ab3e86713534e123e98c3 Mon Sep 17 00:00:00 2001
From: Stephen Clarke <stephen.cla...@st.com>
Date: Fri, 12 Sep 2008 11:59:27 +0100
Subject: [PATCH] Only use X86-specific asms when ARCH_X86 is defined

Signed-off-by: Stephen Clarke <stephen.cla...@st.com>
---
 gfxdrivers/matrox/matrox_3d.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gfxdrivers/matrox/matrox_3d.c b/gfxdrivers/matrox/matrox_3d.c
index 1e523ea..09bef1e 100644
--- a/gfxdrivers/matrox/matrox_3d.c
+++ b/gfxdrivers/matrox/matrox_3d.c
@@ -54,6 +54,7 @@
 #endif
 
 
+#ifdef ARCH_X86
 static inline long
 my_rint(const float x)
 {
@@ -97,6 +98,7 @@ my_floor(const float x)
      return value;
 }
 
+#endif
 
 #define F2COL(x) (RINT(x) & 0x00ffffff)
 
-- 
1.5.6.3

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to