]> git.proxmox.com Git - rustc.git/commitdiff
Don't use tabs in patch
authorXimin Luo <infinity0@debian.org>
Sun, 17 Mar 2019 23:14:38 +0000 (16:14 -0700)
committerXimin Luo <infinity0@debian.org>
Sun, 17 Mar 2019 23:14:38 +0000 (16:14 -0700)
debian/patches/d-sparc64-fix-fnctls.patch

index 4422faf43d3b9a4e46a92630a5a4624961c6bb30..1968e69e6a951aaeb2cc0237ad65664cbc0ef3d6 100644 (file)
@@ -18,17 +18,17 @@ Index: rustc-1.31.0+dfsg1/src/librustc_data_structures/flock.rs
 -            pub const F_SETLKW: libc::c_int = 7;
 +            cfg_if! {
 +                if #[cfg(target_arch = "sparc64")] {
-+                  pub const F_RDLCK: libc::c_short = 1;
-+                  pub const F_WRLCK: libc::c_short = 2;
-+                   pub const F_UNLCK: libc::c_short = 3;
-+                   pub const F_SETLK: libc::c_int = 8;
-+                   pub const F_SETLKW: libc::c_int = 9;
++                    pub const F_RDLCK: libc::c_short = 1;
++                    pub const F_WRLCK: libc::c_short = 2;
++                    pub const F_UNLCK: libc::c_short = 3;
++                    pub const F_SETLK: libc::c_int = 8;
++                    pub const F_SETLKW: libc::c_int = 9;
 +                } else {
-+                   pub const F_RDLCK: libc::c_short = 0;
-+                   pub const F_WRLCK: libc::c_short = 1;
-+                   pub const F_UNLCK: libc::c_short = 2;
-+                   pub const F_SETLK: libc::c_int = 6;
-+                   pub const F_SETLKW: libc::c_int = 7;
++                    pub const F_RDLCK: libc::c_short = 0;
++                    pub const F_WRLCK: libc::c_short = 1;
++                    pub const F_UNLCK: libc::c_short = 2;
++                    pub const F_SETLK: libc::c_int = 6;
++                    pub const F_SETLKW: libc::c_int = 7;
 +                }
 +            }
          }