Adjust make_orig_multi.sh to use new patch name.
# Trim the list of dependencies
echo ""
-echo "Applying clean-cargo-deps.patch... If this fails, remember to refresh the patch first!"
-patch -p1 < ${WORKDIR}/debian/patches/clean-cargo-deps.patch
+echo "Applying 2004_clean-cargo-deps.patch... If this fails, remember to refresh the patch first!"
+patch -p1 < ${WORKDIR}/debian/patches/2004_clean-cargo-deps.patch
# Download build-deps via cargo-vendor
export GIT_AUTHOR_NAME="deb-build"
--- /dev/null
+Description: Remove stage1 extra dependencies (cargo 0.17)
+ Fetching extra dev-dependencies is not yet supported by bootstrap.py
+ and they are not need to build. However, cargo will try to download
+ them before building stage1.
+ .
+ For patches for earlier versions of cargo, see the git history for this file.
+From: Luca Bruno <lucab@debian.org>
+From: Ximin Luo <infinity0@debian.org>
+Forwarded: not-needed
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -51,12 +51,12 @@
+ [target.'cfg(unix)'.dependencies]
+ openssl = "0.9"
+
+-[target.'cfg(windows)'.dependencies]
+-advapi32-sys = "0.2"
+-kernel32-sys = "0.2"
+-miow = "0.2"
+-psapi-sys = "0.1"
+-winapi = "0.2"
++#[target.'cfg(windows)'.dependencies]
++#advapi32-sys = "0.2"
++#kernel32-sys = "0.2"
++#miow = "0.2"
++#psapi-sys = "0.1"
++#winapi = "0.2"
+
+ [dev-dependencies]
+ bufstream = "0.1"
+++ /dev/null
-From: Luca Bruno <lucab@debian.org>
-From: Ximin Luo <infinity0@debian.org>
-Description: Remove stage1 extra dependencies (cargo 0.17)
- Fetching extra dev-dependencies is not yet supported by bootstrap.py
- and they are not need to build. However, cargo will try to download
- them before building stage1.
- .
- For patches for earlier versions of cargo, see the git history for this file.
-Forwarded: not-needed
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -51,12 +51,12 @@
- [target.'cfg(unix)'.dependencies]
- openssl = "0.9"
-
--[target.'cfg(windows)'.dependencies]
--advapi32-sys = "0.2"
--kernel32-sys = "0.2"
--miow = "0.2"
--psapi-sys = "0.1"
--winapi = "0.2"
-+#[target.'cfg(windows)'.dependencies]
-+#advapi32-sys = "0.2"
-+#kernel32-sys = "0.2"
-+#miow = "0.2"
-+#psapi-sys = "0.1"
-+#winapi = "0.2"
-
- [dev-dependencies]
- bufstream = "0.1"
-clean-cargo-deps.patch
+2004_clean-cargo-deps.patch
2003_local-jquery.patch
2001_use-system-libgit2.patch
2002_disable-net-tests.patch