From b4d204f9fdb09a3655ae9a90ef262e253d6e59d7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 10 Jan 2014 17:37:30 +0100 Subject: add upower, polkit and dependencies --- package/mozjs/patches/patch-js_src_configure | 42 ++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 package/mozjs/patches/patch-js_src_configure (limited to 'package/mozjs/patches/patch-js_src_configure') diff --git a/package/mozjs/patches/patch-js_src_configure b/package/mozjs/patches/patch-js_src_configure new file mode 100644 index 000000000..f2b4f62c4 --- /dev/null +++ b/package/mozjs/patches/patch-js_src_configure @@ -0,0 +1,42 @@ +--- mozjs17.0.0.orig/js/src/configure 2013-03-25 21:34:20.000000000 +0100 ++++ mozjs17.0.0/js/src/configure 2014-01-09 18:00:47.000000000 +0100 +@@ -6037,39 +6037,6 @@ EOF + HAVE_ARM_SIMD=1 + fi + +- echo $ac_n "checking for ARM NEON support in compiler""... $ac_c" 1>&6 +-echo "configure:6042: checking for ARM NEON support in compiler" >&5 +- # We try to link so that this also fails when +- # building with LTO. +- cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +- rm -rf conftest* +- result="yes" +-else +- echo "configure: failed program was:" >&5 +- cat conftest.$ac_ext >&5 +- rm -rf conftest* +- result="no" +-fi +-rm -f conftest* +- echo "$ac_t"""$result"" 1>&6 +- if test "$result" = "yes"; then +- cat >> confdefs.pytmp <<\EOF +- (''' HAVE_ARM_NEON ''', ' 1 ') +-EOF +-cat >> confdefs.h <<\EOF +-#define HAVE_ARM_NEON 1 +-EOF +- +- HAVE_ARM_NEON=1 +- fi + fi # CPU_ARCH = arm + + -- cgit v1.2.3