File: disable-factor.diff

package info (click to toggle)
rust-coreutils 0.0.30-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,388 kB
  • sloc: sh: 1,088; python: 407; javascript: 72; makefile: 51
file content (72 lines) | stat: -rw-r--r-- 2,389 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
Index: coreutils/Cargo.toml
===================================================================
--- coreutils.orig/Cargo.toml
+++ coreutils/Cargo.toml
@@ -82,7 +82,7 @@ feat_common_core = [
   "env",
   "expand",
   "expr",
-  "factor",
+##  "factor",
   "false",
   "fmt",
   "fold",
@@ -313,7 +313,7 @@ nix = { version = "0.29", default-featur
 nom = ">= 7"
 notify = ">= 5, < 7"
 num-bigint = "0.4"
-num-prime = "0.4.4"
+#num-prime = "0.4.4"
 num-traits = "0.2"
 number_prefix = "0.4"
 onig = { version = "~6", default-features = false }
@@ -410,7 +410,7 @@ echo = { optional = true, version = "0.0
 env = { optional = true, version = "0.0.30", package = "uu_env", path = "src/uu/env" }
 expand = { optional = true, version = "0.0.30", package = "uu_expand", path = "src/uu/expand" }
 expr = { optional = true, version = "0.0.30", package = "uu_expr", path = "src/uu/expr" }
-factor = { optional = true, version = "0.0.30", package = "uu_factor", path = "src/uu/factor" }
+#factor = { optional = true, version = "0.0.30", package = "uu_factor", path = "src/uu/factor" }
 false = { optional = true, version = "0.0.30", package = "uu_false", path = "src/uu/false" }
 fmt = { optional = true, version = "0.0.30", package = "uu_fmt", path = "src/uu/fmt" }
 fold = { optional = true, version = "0.0.30", package = "uu_fold", path = "src/uu/fold" }
@@ -498,7 +498,7 @@ chrono = { workspace = true }
 filetime = { workspace = true }
 glob = { workspace = true }
 libc = { workspace = true }
-num-prime = { workspace = true }
+#num-prime = { workspace = true }
 pretty_assertions = "1.4.0"
 rand = { workspace = true }
 regex = { workspace = true }
Index: coreutils/GNUmakefile
===================================================================
--- coreutils.orig/GNUmakefile
+++ coreutils/GNUmakefile
@@ -88,7 +88,6 @@ PROGS       := \
 	env \
 	expand \
 	expr \
-	factor \
 	false \
 	fmt \
 	fold \
@@ -205,7 +204,6 @@ TEST_PROGS  := \
 	echo \
 	env \
 	expr \
-	factor \
 	false \
 	fold \
 	hashsum \
Index: coreutils/src/uu/ls/src/ls.rs
===================================================================
--- coreutils.orig/src/uu/ls/src/ls.rs
+++ coreutils/src/uu/ls/src/ls.rs
@@ -25,7 +25,6 @@ use std::{
     time::Duration,
 };
 use std::{collections::HashSet, io::IsTerminal};
-use ansi_width::ansi_width;
 
 use ansi_width::ansi_width;
 use chrono::{DateTime, Local, TimeDelta};