aboutsummaryrefslogtreecommitdiffstats
path: root/net/alfis/patches/patch-Cargo_toml
diff options
context:
space:
mode:
authorla-ninpre <aaoth@aaoth.xyz>2023-04-27 01:04:40 +0300
committerla-ninpre <aaoth@aaoth.xyz>2023-04-27 01:04:40 +0300
commit01c21587aff0e76a970f1fc322bbed32cf30c287 (patch)
tree57aa177d7ab0459726e71be4200344d33b88e2e1 /net/alfis/patches/patch-Cargo_toml
parenta8921593398f8b600e09b82a69a2c4a077785510 (diff)
downloadports-01c21587aff0e76a970f1fc322bbed32cf30c287.tar.gz
ports-01c21587aff0e76a970f1fc322bbed32cf30c287.zip
net/alfis: add 0.8.4
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"]