[xulrunner] Arm build fix

Martin Stransky stransky at fedoraproject.org
Tue Dec 10 13:48:52 UTC 2013


commit 8b10ed3072926f67c75cdc33cc924524f92cff4a
Author: Martin Stransky <stransky at redhat.com>
Date:   Tue Dec 10 14:48:53 2013 +0100

    Arm build fix

 mozilla-build-arm.patch |   15 ++++++++++++---
 xulrunner.spec          |    2 +-
 2 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/mozilla-build-arm.patch b/mozilla-build-arm.patch
index 0fed214..f2885f8 100644
--- a/mozilla-build-arm.patch
+++ b/mozilla-build-arm.patch
@@ -1,6 +1,15 @@
-diff -up xulrunner-25.0/mozilla-release/gfx/ycbcr/moz.build.arm xulrunner-25.0/mozilla-release/gfx/ycbcr/moz.build
---- xulrunner-25.0/mozilla-release/gfx/ycbcr/moz.build.arm	2013-10-23 15:52:17.056493264 +0200
-+++ xulrunner-25.0/mozilla-release/gfx/ycbcr/moz.build	2013-10-23 16:03:04.496045050 +0200
+--- mozilla-release/gfx/layers/BufferUnrotate.cpp.old	2013-12-05 17:07:31.000000000 +0100
++++ mozilla-release/gfx/layers/BufferUnrotate.cpp	2013-12-10 14:43:25.948164298 +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)
+--- mozilla-release/gfx/ycbcr/moz.build.arm	2013-10-23 15:52:17.056493264 +0200
++++ mozilla-release/gfx/ycbcr/moz.build	2013-10-23 16:03:04.496045050 +0200
 @@ -61,7 +61,7 @@ else:
          'yuv_row_other.cpp',
      ]
diff --git a/xulrunner.spec b/xulrunner.spec
index 1e7983b..ea7bf08 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -236,7 +236,7 @@ cd %{tarballdir}
 
 %patch1  -p1
 %patch2  -p1 -b .bld
-%patch3  -p2 -b .arm
+%patch3  -p1 -b .arm
 %patch14 -p2 -b .chromium-types
 %patch17 -p1 -b .gcc47
 %patch18 -p2 -b .jemalloc-ppc


More information about the scm-commits mailing list