summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mutter/mutter/crosscompile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mutter/mutter/crosscompile.patch')
-rw-r--r--meta/recipes-graphics/mutter/mutter/crosscompile.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/meta/recipes-graphics/mutter/mutter/crosscompile.patch b/meta/recipes-graphics/mutter/mutter/crosscompile.patch
deleted file mode 100644
index da73e7b287..0000000000
--- a/meta/recipes-graphics/mutter/mutter/crosscompile.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3Index: git/configure.in
4===================================================================
5--- git.orig/configure.in 2009-01-27 14:49:10.000000000 +0000
6+++ git/configure.in 2009-01-27 15:29:41.000000000 +0000
7@@ -46,6 +46,32 @@
8 AC_LIBTOOL_WIN32_DLL
9 AM_PROG_LIBTOOL
10
11+if test x"$CC_FOR_BUILD" = x; then
12+ if test x"$cross_compiling" = xyes; then
13+ AC_CHECK_PROGS(CC_FOR_BUILD, gcc cc)
14+ else
15+ CC_FOR_BUILD="$CC"
16+ fi
17+fi
18+AC_SUBST([CC_FOR_BUILD])
19+if test x"$CFLAGS_FOR_BUILD" = x; then
20+ if test x"$cross_compiling" = xyes; then
21+ AC_CHECK_PROGS(CFLAGS_FOR_BUILD, gcc cc)
22+ else
23+ CFLAGS_FOR_BUILD="$CFLAGS"
24+ fi
25+fi
26+AC_SUBST([CFLAGS_FOR_BUILD])
27+if test x"$LDFLAGS_FOR_BUILD" = x; then
28+ if test x"$cross_compiling" = xyes; then
29+ AC_CHECK_PROGS(LDFLAGS_FOR_BUILD, gcc cc)
30+ else
31+ LDFLAGS_FOR_BUILD="$LDFLAGS"
32+ fi
33+fi
34+AC_SUBST([LDFLAGS_FOR_BUILD])
35+
36+
37 #### Integer sizes
38
39 AC_CHECK_SIZEOF(char)
40Index: git/src/Makefile.am
41===================================================================
42--- git.orig/src/Makefile.am 2009-01-27 15:25:31.000000000 +0000
43+++ git/src/Makefile.am 2009-01-27 15:39:54.000000000 +0000
44@@ -168,11 +168,9 @@
45 metacity_dialog_SOURCES= \
46 ui/metacity-dialog.c
47
48-schema_bindings_SOURCES = \
49- core/schema-bindings.c \
50- metacity.schemas.in.in
51+schema_bindings:
52+ @CC_FOR_BUILD@ core/schema-bindings.c -I./include -I ../ @CFLAGS_FOR_BUILD@ @LDFLAGS_FOR_BUILD@ -o schema_bindings
53
54-schema_bindings_LDADD = @METACITY_LIBS@
55 metacity.schemas.in: schema_bindings ${srcdir}/metacity.schemas.in.in
56 @echo Generating keybinding schemas... ${srcdir}/metacity.schemas.in.in
57 ${builddir}/schema_bindings ${srcdir}/metacity.schemas.in.in ${builddir}/metacity.schemas.in