]> git.proxmox.com Git - debcargo-conf.git/commitdiff
pasetors: disable js feature of getrandom dep
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 6 Jul 2023 12:55:59 +0000 (14:55 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 18 Dec 2023 08:29:36 +0000 (09:29 +0100)
it's not currently enabled in Debian.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
(cherry picked from commit 31c4a05c3d0d18e5202116f677ec588042655f97)

src/pasetors/debian/patches/drop-getrandom-js-feature.patch [new file with mode: 0644]
src/pasetors/debian/patches/series [new file with mode: 0644]

diff --git a/src/pasetors/debian/patches/drop-getrandom-js-feature.patch b/src/pasetors/debian/patches/drop-getrandom-js-feature.patch
new file mode 100644 (file)
index 0000000..aa76e4c
--- /dev/null
@@ -0,0 +1,12 @@
+Index: pasetors/Cargo.toml
+===================================================================
+--- pasetors.orig/Cargo.toml
++++ pasetors/Cargo.toml
+@@ -51,7 +51,6 @@ default-features = false
+ [dependencies.getrandom]
+ version = "0.2"
+-features = ["js"]
+ [dependencies.orion]
+ version = "0.17.0"
diff --git a/src/pasetors/debian/patches/series b/src/pasetors/debian/patches/series
new file mode 100644 (file)
index 0000000..4aa4b1d
--- /dev/null
@@ -0,0 +1 @@
+drop-getrandom-js-feature.patch