added upstream build patch

This commit is contained in:
Martin Stransky 2012-01-25 14:02:48 +01:00
commit 8fec9ed95d
2 changed files with 14 additions and 0 deletions

12
mozilla-706724.patch Normal file
View file

@ -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

View file

@ -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