xulrunner/xulrunner.spec
changeset 371 ead21d122ed0
parent 370 fb2107b60ba2
child 372 5a5bf0116f26
--- a/xulrunner/xulrunner.spec	Sun Jan 22 12:57:26 2012 +0100
+++ b/xulrunner/xulrunner.spec	Sun Jan 22 13:11:39 2012 +0100
@@ -1,8 +1,8 @@
 #
 # spec file for package xulrunner
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#               2006-2011 Wolfgang Rosenauer
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#               2006-2012 Wolfgang Rosenauer
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -77,6 +77,7 @@
 Patch14:        mozilla-linux3.patch
 Patch15:        mozilla-ppc64.patch
 Patch16:        mozilla-a11y.patch
+Patch17:        mozilla-disable-neon-option.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires:       mozilla-js = %{version}
 Requires(post):  update-alternatives coreutils
@@ -196,6 +197,7 @@
 %patch14 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 %build
 # no need to add build time to binaries
@@ -282,6 +284,12 @@
 ac_add_options --disable-ipc
 EOF
 %endif
+# Disable neon for arm as it does not build correctly
+%ifarch %arm
+cat << EOF >> $MOZCONFIG
+ac_add_options --disable-neon
+EOF
+%endif
 make -f client.mk build
 
 %install