coreutils: fix the manpage files & add missing patches
Sylvestre Ledru
3 years ago
1 | 1 |
===================================================================
|
2 | 2 |
--- rust-coreutils-8.0~0.0.2.orig/GNUmakefile
|
3 | 3 |
+++ rust-coreutils-8.0~0.0.2/GNUmakefile
|
4 | |
@@ -1,5 +1,5 @@
|
5 | |
# Config options
|
6 | |
-PROFILE ?= release
|
7 | |
+65;6201;1cPROFILE ?= release
|
8 | |
MULTICALL ?= n
|
9 | |
INSTALL ?= install
|
10 | |
ifneq (,$(filter install, $(MAKECMDGOALS)))
|
11 | 4 |
@@ -55,6 +55,7 @@ PROGS := \
|
12 | 5 |
cp \
|
13 | 6 |
csplit \
|
|
0 |
Index: coreutils/GNUmakefile
|
|
1 |
===================================================================
|
|
2 |
--- coreutils.orig/GNUmakefile
|
|
3 |
+++ coreutils/GNUmakefile
|
|
4 |
@@ -15,8 +15,8 @@ RM := rm -rf
|
|
5 |
|
|
6 |
# Binaries
|
|
7 |
CARGO ?= cargo
|
|
8 |
-CARGOFLAGS ?=
|
|
9 |
-
|
|
10 |
+CARGOFLAGS ?= --verbose --verbose -Zavoid-dev-deps
|
|
11 |
+CARGO_PRE_FLAGS ?= CARGO_REGISTRY=$(shell pwd)/debian/cargo_registry
|
|
12 |
# Install directories
|
|
13 |
PREFIX ?= /usr/local
|
|
14 |
DESTDIR ?=
|
|
15 |
@@ -249,7 +249,7 @@ ifneq (${MULTICALL}, y)
|
|
16 |
endif
|
|
17 |
|
|
18 |
build-uutils:
|
|
19 |
- ${CARGO} build ${CARGOFLAGS} --features "${EXES}" ${PROFILE_CMD} --no-default-features
|
|
20 |
+ ${CARGO_PRE_FLAGS} ${CARGO} build ${CARGOFLAGS} --features "${EXES}" ${PROFILE_CMD} --no-default-features
|
|
21 |
|
|
22 |
build-manpages:
|
|
23 |
cd $(DOCSDIR) && $(MAKE) man
|
|
0 |
Index: coreutils/src/uu/whoami/Cargo.toml
|
|
1 |
===================================================================
|
|
2 |
--- coreutils.orig/src/uu/whoami/Cargo.toml
|
|
3 |
+++ coreutils/src/uu/whoami/Cargo.toml
|
|
4 |
@@ -19,9 +19,9 @@ clap = "2.33"
|
|
5 |
uucore = { version=">=0.0.5", package="uucore", path="../../uucore", features=["entries", "wide"] }
|
|
6 |
uucore_procs = { version=">=0.0.5", package="uucore_procs", path="../../uucore_procs" }
|
|
7 |
|
|
8 |
-[target.'cfg(target_os = "windows")'.dependencies]
|
|
9 |
-advapi32-sys = "0.2.0"
|
|
10 |
-winapi = { version = "0.3", features = ["lmcons"] }
|
|
11 |
+#[target.'cfg(target_os = "windows")'.dependencies]
|
|
12 |
+#advapi32-sys = "0.2.0"
|
|
13 |
+#winapi = { version = "0.3", features = ["lmcons"] }
|
|
14 |
|
|
15 |
[[bin]]
|
|
16 |
name = "whoami"
|
0 | |
docs/*.1
|
|
0 |
docs/rust-*.1
|