Added rust build patch
This commit is contained in:
parent
fd07a4007a
commit
362c4c8e43
39
rust-1.33-build.patch
Normal file
39
rust-1.33-build.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
diff -up thunderbird-60.7.0/servo/components/style/gecko/regen_atoms.py.rust-1.33-build thunderbird-60.7.0/servo/components/style/gecko/regen_atoms.py
|
||||||
|
--- thunderbird-60.7.0/servo/components/style/gecko/regen_atoms.py.rust-1.33-build 2019-05-17 14:05:38.000000000 +0200
|
||||||
|
+++ thunderbird-60.7.0/servo/components/style/gecko/regen_atoms.py 2019-05-20 15:01:06.284881858 +0200
|
||||||
|
@@ -202,6 +202,7 @@ RULE_TEMPLATE = ('("{atom}") =>\n '
|
||||||
|
' }}}};')
|
||||||
|
|
||||||
|
MACRO = '''
|
||||||
|
+/// Returns a static atom by passing the literal string it represents.
|
||||||
|
#[macro_export]
|
||||||
|
macro_rules! atom {{
|
||||||
|
{}
|
||||||
|
diff -up thunderbird-60.7.0/servo/components/style/properties/properties.mako.rs.rust-1.33-build thunderbird-60.7.0/servo/components/style/properties/properties.mako.rs
|
||||||
|
--- thunderbird-60.7.0/servo/components/style/properties/properties.mako.rs.rust-1.33-build 2019-05-17 14:05:38.000000000 +0200
|
||||||
|
+++ thunderbird-60.7.0/servo/components/style/properties/properties.mako.rs 2019-05-20 15:01:06.286881852 +0200
|
||||||
|
@@ -55,6 +55,7 @@ use style_adjuster::StyleAdjuster;
|
||||||
|
|
||||||
|
pub use self::declaration_block::*;
|
||||||
|
|
||||||
|
+/// Generated
|
||||||
|
#[cfg(feature = "gecko")]
|
||||||
|
#[macro_export]
|
||||||
|
macro_rules! property_name {
|
||||||
|
@@ -3852,7 +3853,7 @@ impl fmt::Debug for AliasId {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
-// NOTE(emilio): Callers are responsible to deal with prefs.
|
||||||
|
+/// Callers are responsible to deal with prefs.
|
||||||
|
#[macro_export]
|
||||||
|
macro_rules! css_properties_accessors {
|
||||||
|
($macro_name: ident) => {
|
||||||
|
@@ -3875,6 +3876,7 @@ macro_rules! css_properties_accessors {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+/// Neco
|
||||||
|
#[macro_export]
|
||||||
|
macro_rules! longhand_properties_idents {
|
||||||
|
($macro_name: ident) => {
|
@ -109,6 +109,7 @@ Source28: thunderbird-wayland.sh.in
|
|||||||
Source29: thunderbird-wayland.desktop
|
Source29: thunderbird-wayland.desktop
|
||||||
|
|
||||||
# Build patches
|
# Build patches
|
||||||
|
Patch1: rust-1.33-build.patch
|
||||||
Patch9: mozilla-build-arm.patch
|
Patch9: mozilla-build-arm.patch
|
||||||
Patch26: build-icu-big-endian.patch
|
Patch26: build-icu-big-endian.patch
|
||||||
Patch37: build-jit-atomic-always-lucky.patch
|
Patch37: build-jit-atomic-always-lucky.patch
|
||||||
@ -237,6 +238,7 @@ debug %{name}, you want to install %{name}-debuginfo instead.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
# Build patches
|
# Build patches
|
||||||
|
%patch1 -p1 -b .rust-1.33-build
|
||||||
%patch9 -p2 -b .arm
|
%patch9 -p2 -b .arm
|
||||||
%ifarch s390
|
%ifarch s390
|
||||||
%patch103 -p1 -b .rhbz-1219542-s390-build
|
%patch103 -p1 -b .rhbz-1219542-s390-build
|
||||||
|
Loading…
Reference in New Issue
Block a user