From bc0da7eef3742cab7ed9c2efc4a42a85cc4ea767 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 26 Feb 2015 19:44:50 +0100 Subject: build for mips64 big endian soft-float generates warnings Cairo's check for threads does not work correclty when assembler or linker give warnings. Add a workaround for this. --- package/cairo/patches/patch-Makefile_in | 8 +-- package/cairo/patches/patch-configure | 101 ++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 4 deletions(-) create mode 100644 package/cairo/patches/patch-configure (limited to 'package/cairo/patches') diff --git a/package/cairo/patches/patch-Makefile_in b/package/cairo/patches/patch-Makefile_in index 266149788..8716b0820 100644 --- a/package/cairo/patches/patch-Makefile_in +++ b/package/cairo/patches/patch-Makefile_in @@ -1,6 +1,6 @@ ---- cairo-1.12.16.orig/Makefile.in 2013-08-26 19:00:44.000000000 +0200 -+++ cairo-1.12.16/Makefile.in 2014-02-10 14:44:58.000000000 +0100 -@@ -80,7 +80,7 @@ EXTRA_PROGRAMS = +--- cairo-1.14.0.orig/Makefile.in 2014-10-14 03:47:28.000000000 +0200 ++++ cairo-1.14.0/Makefile.in 2015-02-26 11:39:05.000000000 +0100 +@@ -63,7 +63,7 @@ EXTRA_PROGRAMS = TESTS = check_PROGRAMS = # libpng is required for our test programs @@ -9,7 +9,7 @@ subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/build/aclocal.cairo.m4 \ -@@ -439,7 +439,7 @@ MAINTAINERCLEANFILES = Makefile.in $(src +@@ -417,7 +417,7 @@ MAINTAINERCLEANFILES = Makefile.in $(src # $(srcdir)/build/Makefile.win32.features-h \ # $(NULL) ACLOCAL_AMFLAGS = -I build ${ACLOCAL_FLAGS} diff --git a/package/cairo/patches/patch-configure b/package/cairo/patches/patch-configure new file mode 100644 index 000000000..9e0f39f0d --- /dev/null +++ b/package/cairo/patches/patch-configure @@ -0,0 +1,101 @@ +--- cairo-1.14.0.orig/configure 2014-10-14 03:47:29.000000000 +0200 ++++ cairo-1.14.0/configure 2015-02-26 13:27:59.000000000 +0100 +@@ -18371,7 +18371,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -18418,7 +18418,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -18469,7 +18469,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -18516,7 +18516,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -18585,7 +18585,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -18641,7 +18641,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -20089,7 +20089,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -20136,7 +20136,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -33208,7 +33208,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -33327,7 +33327,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false ; then + cairo_cc_flag=no + fi + +@@ -33408,7 +33408,7 @@ fi + rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + +- if test "x$cairo_cc_stderr" != "x"; then ++ if false; then + cairo_cc_flag=no + fi + -- cgit v1.2.3