[xulrunner] added upstream build patch

Martin Stransky stransky at fedoraproject.org
Wed Jan 25 13:03:04 UTC 2012


commit 8fec9ed95d48021ecd848ff93a8aec0dfd782fe7
Author: Martin Stransky <stransky at redhat.com>
Date:   Wed Jan 25 14:02:48 2012 +0100

    added upstream build patch

 mozilla-706724.patch |   12 ++++++++++++
 xulrunner.spec       |    2 ++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/mozilla-706724.patch b/mozilla-706724.patch
new file mode 100644
index 0000000..b0792ed
--- /dev/null
+++ b/mozilla-706724.patch
@@ -0,0 +1,12 @@
+diff -up mozilla-beta/ipc/chromium/src/base/file_util.cc.old mozilla-beta/ipc/chromium/src/base/file_util.cc
+--- mozilla-beta/ipc/chromium/src/base/file_util.cc.old	2012-01-25 13:48:11.000000000 +0100
++++ mozilla-beta/ipc/chromium/src/base/file_util.cc	2012-01-25 13:52:25.096659244 +0100
+@@ -8,7 +8,7 @@
+ #include <io.h>
+ #endif
+ #include <stdio.h>
+-#if defined(ANDROID)
++#if defined(ANDROID) || defined(OS_POSIX)
+ #include <unistd.h>
+ #endif
+ 
diff --git a/xulrunner.spec b/xulrunner.spec
index cf81a0b..0054f32 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -91,6 +91,7 @@ Patch39:        xulrunner-8.0-fix-maemo-checks-in-npapi.patch
 Patch40:        mozilla-682832-proxy.patch
 # cherry-picked from 13afcd4c097c
 Patch41:        xulrunner-9.0-secondary-build-fix.patch
+Patch42:        mozilla-706724.patch
 
 # ---------------------------------------------------
 
@@ -219,6 +220,7 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{gecko_dir_ver}/' %{P:%%PATCH0} \
 %patch39 -p1 -b .707993
 %patch40 -p2 -b .682832
 %patch41 -p2 -b .secondary-build
+%patch42 -p1 -b .706724
 
 %{__rm} -f .mozconfig
 %{__cp} %{SOURCE10} .mozconfig


More information about the scm-commits mailing list