summary refs log tree commit diff
path: root/pkgs/development/compilers/scryer-prolog/cargo.patch
blob: ccce7ba357d7a8b8a38ec677ec4486c3ff862e7d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
diff --git a/Cargo.lock b/Cargo.lock
index 4d699f11..1eb894fc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -875,15 +875,6 @@ version = "0.1.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "28988d872ab76095a6e6ac88d99b54fd267702734fd7ffe610ca27f533ddb95a"
 
-[[package]]
-name = "openssl-src"
-version = "300.0.2+3.0.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "14a760a11390b1a5daf72074d4f6ff1a6e772534ae191f999f57e9ee8146d1fb"
-dependencies = [
- "cc",
-]
-
 [[package]]
 name = "openssl-sys"
 version = "0.9.70"
@@ -893,7 +884,6 @@ dependencies = [
  "autocfg 1.0.1",
  "cc",
  "libc",
- "openssl-src",
  "pkg-config",
  "vcpkg",
 ]
@@ -1432,6 +1422,7 @@ dependencies = [
  "divrem",
  "fxhash",
  "git-version",
+ "gmp-mpfr-sys",
  "hostname",
  "indexmap",
  "instructions-template",
diff --git a/Cargo.toml b/Cargo.toml
index 8e81a947..d21a8d49 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,7 +55,7 @@ ring = "0.16.13"
 ripemd160 = "0.8.0"
 sha3 = "0.8.2"
 blake2 = "0.8.1"
-openssl = { version = "0.10.29", features = ["vendored"] }
+openssl = { version = "0.10.29" }
 native-tls = "0.2.4"
 chrono = "0.4.11"
 select = "0.4.3"
@@ -66,10 +66,14 @@ sodiumoxide = "0.2.6"
 static_assertions = "1.1.0"
 slice-deque = "0.3.0"
 
+[dependencies.gmp-mpfr-sys]
+version = "1.4"
+features = ["use-system-libs"]
+
 [dev-dependencies]
 assert_cmd = "1.0.3"
 predicates-core = "1.0.2"
 serial_test = "0.5.1"
 
 [profile.release]
-debug = true
\ No newline at end of file
+debug = true