[xulrunner] added a build patch
Martin Stransky
stransky at fedoraproject.org
Wed Jan 25 14:16:16 UTC 2012
commit 6a04c874e97f0a688e4a869472537394f51fbcfe
Author: Martin Stransky <stransky at redhat.com>
Date: Wed Jan 25 15:15:59 2012 +0100
added a build patch
mozilla-file.patch | 13 +++++++++++++
xulrunner.spec | 2 ++
2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/mozilla-file.patch b/mozilla-file.patch
new file mode 100644
index 0000000..ae08792
--- /dev/null
+++ b/mozilla-file.patch
@@ -0,0 +1,13 @@
+diff -up mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc.old mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc
+--- mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc.old 2012-01-24 09:00:00.000000000 +0100
++++ mozilla-beta/ipc/chromium/src/base/message_pump_libevent.cc 2012-01-25 15:10:53.716767823 +0100
+@@ -6,6 +6,9 @@
+
+ #include <errno.h>
+ #include <fcntl.h>
++#if defined(ANDROID) || defined(OS_POSIX)
++#include <unistd.h>
++#endif
+
+ #include "eintr_wrapper.h"
+ #include "base/logging.h"
diff --git a/xulrunner.spec b/xulrunner.spec
index 0054f32..99005b0 100644
--- a/xulrunner.spec
+++ b/xulrunner.spec
@@ -92,6 +92,7 @@ Patch40: mozilla-682832-proxy.patch
# cherry-picked from 13afcd4c097c
Patch41: xulrunner-9.0-secondary-build-fix.patch
Patch42: mozilla-706724.patch
+Patch43: mozilla-file.patch
# ---------------------------------------------------
@@ -221,6 +222,7 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{gecko_dir_ver}/' %{P:%%PATCH0} \
%patch40 -p2 -b .682832
%patch41 -p2 -b .secondary-build
%patch42 -p1 -b .706724
+%patch43 -p1 -b .file
%{__rm} -f .mozconfig
%{__cp} %{SOURCE10} .mozconfig
More information about the scm-commits
mailing list