[thunderbird-lightning] Add xulrunner-prtime.patch based on thunderbird package
Orion Poplawski
orion at fedoraproject.org
Tue Jun 5 17:25:41 UTC 2012
commit d657ddeeb80e376322867facbe0ba8b340c35d0b
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Tue Jun 5 11:25:38 2012 -0600
Add xulrunner-prtime.patch based on thunderbird package
thunderbird-lightning.spec | 2 ++
xulrunner-prtime.patch | 12 ++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/thunderbird-lightning.spec b/thunderbird-lightning.spec
index 636d132..6e5940d 100644
--- a/thunderbird-lightning.spec
+++ b/thunderbird-lightning.spec
@@ -44,6 +44,7 @@ Source100: find-external-requires
# Mozilla (XULRunner) patches
Patch0: thunderbird-version.patch
+Patch1: xulrunner-prtime.patch
# Fix build on secondary arches (patches copied from xulrunner)
Patch2: xulrunner-10.0-secondary-ipc.patch
@@ -104,6 +105,7 @@ sed -e 's/__RPM_VERSION_INTERNAL__/%{version_internal}/' %{P:%%PATCH0} \
> version.patch
%{__patch} -p1 -b --suffix .version --fuzz=0 < version.patch
cd mozilla
+%patch1 -p1 -b .prtime
%patch2 -p3 -b .secondary-ipc
cd ..
diff --git a/xulrunner-prtime.patch b/xulrunner-prtime.patch
new file mode 100644
index 0000000..2036044
--- /dev/null
+++ b/xulrunner-prtime.patch
@@ -0,0 +1,12 @@
+diff -up mozilla/hal/sandbox/PHal.ipdl.prtime mozilla/hal/sandbox/PHal.ipdl
+--- mozilla/hal/sandbox/PHal.ipdl.prtime 2012-05-12 03:34:21.000000000 -0600
++++ mozilla/hal/sandbox/PHal.ipdl 2012-06-05 11:16:25.884065096 -0600
+@@ -39,7 +39,7 @@
+
+ include protocol PContent;
+ include protocol PBrowser;
+-include "nspr/prtime.h";
++include "prtime.h";
+ include "mozilla/HalSensor.h";
+ include "mozilla/HalTypes.h";
+
More information about the scm-commits
mailing list