From 356c198cc82ec950a9a97d95d9fc2e324dcc08b3 Mon Sep 17 00:00:00 2001 From: Ximin Luo Date: Sun, 17 Mar 2019 16:14:38 -0700 Subject: [PATCH] Don't use tabs in patch --- debian/patches/d-sparc64-fix-fnctls.patch | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/debian/patches/d-sparc64-fix-fnctls.patch b/debian/patches/d-sparc64-fix-fnctls.patch index 4422faf43d..1968e69e6a 100644 --- a/debian/patches/d-sparc64-fix-fnctls.patch +++ b/debian/patches/d-sparc64-fix-fnctls.patch @@ -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; + } + } }