aboutsummaryrefslogtreecommitdiffstats
path: root/net/alfis/patches/patch-Cargo_toml
diff options
context:
space:
mode:
Diffstat (limited to 'net/alfis/patches/patch-Cargo_toml')
-rw-r--r--net/alfis/patches/patch-Cargo_toml26
1 files changed, 26 insertions, 0 deletions
diff --git a/net/alfis/patches/patch-Cargo_toml b/net/alfis/patches/patch-Cargo_toml
new file mode 100644
index 0000000..3deafe4
--- /dev/null
+++ b/net/alfis/patches/patch-Cargo_toml
@@ -0,0 +1,26 @@
+I know that this is a dirty awful thing to do, but i'm lazy to figure out how to
+disable that f-ing dependency that fails to fetch. Not going to compile gui anyway, no
+point in trying.
+Index: Cargo.toml
+--- Cargo.toml.orig
++++ Cargo.toml
+@@ -46,7 +46,7 @@ lazy_static = "1.4.0"
+ spmc = "0.3.0"
+
+ # Optional dependencies regulated by features
+-web-view = { git = "https://github.com/Boscop/web-view", features = [], optional = true }
++# web-view = { git = "https://github.com/Boscop/web-view", features = [], optional = true }
+ tinyfiledialogs = { version = "3.9.1", optional = true }
+ open = { version = "3.0.3", optional = true }
+
+@@ -80,7 +80,7 @@ ProductName="ALFIS"
+ FileDescription="Alternative Free Identity System"
+
+ [features]
+-webgui = ["web-view", "tinyfiledialogs", "open"]
+-edge = ["webgui", "web-view/edge"]
++# webgui = ["web-view", "tinyfiledialogs", "open"]
++# edge = ["webgui", "web-view/edge"]
+ doh = ["ureq"]
+-default = ["webgui", "doh"]
++default = ["doh"]