diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-05-05 20:45:43 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-13 14:34:21 +0200 |
commit | d24b01b262a9c5e04e179bb6264cf0284ce25092 (patch) | |
tree | 2de0384ca3c7711cf7f98edbef0dd326161ad3c5 /meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch | |
parent | b22ffc5f7e5b86139bbc9556bd5e9dcdfcc6550b (diff) | |
download | meta-openembedded-d24b01b262a9c5e04e179bb6264cf0284ce25092.tar.gz |
gtkmathview: Use git for SRC_URI
Drop upstreamed patches
Fix cross compile and compiling with newer g++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch')
-rw-r--r-- | meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch b/meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch new file mode 100644 index 0000000000..3fe632860f --- /dev/null +++ b/meta-oe/recipes-extended/mml-widget/gtkmathview/use_hostcxx.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Use build_cc to compile the programs to run on build host | ||
2 | helps with cross compiling | ||
3 | |||
4 | Upstream-Status: Inappropriate [Cross-compiled OE specific] | ||
5 | |||
6 | diff --git a/src/common/mathvariants/Makefile.am b/src/common/mathvariants/Makefile.am | ||
7 | index 636ccf0..ed9921d 100644 | ||
8 | --- a/src/common/mathvariants/Makefile.am | ||
9 | +++ b/src/common/mathvariants/Makefile.am | ||
10 | @@ -52,7 +52,7 @@ XSLTPROC = xsltproc | ||
11 | %.cc : %_gen.cc $(srcdir)/variant.top $(srcdir)/variant.bot | ||
12 | cat $(srcdir)/variant.top >$@ | ||
13 | $(XSLTPROC) --novalid --param temp "false()" $(srcdir)/extract.xsl $(<:%_gen.cc=$(srcdir)/xml/%.xml) >>$@ | ||
14 | - $(CXX) -o $(@:%.cc=%) -I$(top_builddir)/auto $< | ||
15 | + $(BUILD_CXX) -o $(@:%.cc=%) -I$(top_builddir)/auto $< | ||
16 | echo "Char32 " >>$@ | ||
17 | basename map_variant_$@ .cc | tr "-" "_" >>$@ | ||
18 | echo "(Char32 ch)" >>$@ | ||