summaryrefslogtreecommitdiff
path: root/mozilla-build-arm.patch
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2014-01-09 10:56:01 +0100
committerJan Horak <jhorak@redhat.com>2014-01-09 10:56:01 +0100
commit875d0c0e871da050a4cfe44c0afae09c1ad739e4 (patch)
tree4b858f42c056f60f19639786e815667c3cd2dfb2 /mozilla-build-arm.patch
parent* Tue Dec 17 2013 Martin Stransky <stransky@redhat.com> - 26.0-4 (diff)
downloadlibrewolf-fedora-ff-875d0c0e871da050a4cfe44c0afae09c1ad739e4.tar.gz
librewolf-fedora-ff-875d0c0e871da050a4cfe44c0afae09c1ad739e4.tar.bz2
librewolf-fedora-ff-875d0c0e871da050a4cfe44c0afae09c1ad739e4.zip
Standalone firefox package without need of xulrunner
Diffstat (limited to 'mozilla-build-arm.patch')
-rw-r--r--mozilla-build-arm.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/mozilla-build-arm.patch b/mozilla-build-arm.patch
new file mode 100644
index 0000000..4f25113
--- /dev/null
+++ b/mozilla-build-arm.patch
@@ -0,0 +1,35 @@
+diff -up mozilla-release/gfx/layers/BufferUnrotate.cpp.arm mozilla-release/gfx/layers/BufferUnrotate.cpp
+--- mozilla-release/gfx/layers/BufferUnrotate.cpp.arm 2013-12-05 17:07:31.000000000 +0100
++++ mozilla-release/gfx/layers/BufferUnrotate.cpp 2013-12-10 14:47:43.234182482 +0100
+@@ -8,6 +8,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+
+ void BufferUnrotate(uint8_t* aBuffer, int aByteWidth, int aHeight,
+ int aByteStride, int aXBoundary, int aYBoundary)
+diff -up mozilla-release/gfx/ycbcr/moz.build.arm mozilla-release/gfx/ycbcr/moz.build
+--- mozilla-release/gfx/ycbcr/moz.build.arm 2013-12-05 17:07:32.000000000 +0100
++++ mozilla-release/gfx/ycbcr/moz.build 2013-12-10 14:47:43.235182479 +0100
+@@ -61,7 +61,7 @@ else:
+ 'yuv_row_other.cpp',
+ ]
+
+-if CONFIG['CPU_ARCH'] == 'arm' and CONFIG['HAVE_ARM_NEON']:
++if CONFIG['HAVE_ARM_NEON']:
+ ASFILES += [
+ 'yuv_row_arm.s',
+ ]
+diff -up mozilla-release/media/libtheora/lib/moz.build.arm mozilla-release/media/libtheora/lib/moz.build
+--- mozilla-release/media/libtheora/lib/moz.build.arm 2013-12-05 17:07:48.000000000 +0100
++++ mozilla-release/media/libtheora/lib/moz.build 2013-12-12 11:45:41.882119059 +0100
+@@ -8,7 +8,7 @@ MODULE = 'theora'
+
+ LIBRARY_NAME = 'theora'
+
+-if CONFIG['OS_TEST'] == 'arm' and CONFIG['GNU_AS']:
++if CONFIG['HAVE_ARM_NEON'] and CONFIG['GNU_AS']:
+ asm_suffix = CONFIG['ASM_SUFFIX']
+ ASFILES += [
+ 'armbits-gnu.%s' % asm_suffix,
bgstack15