aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-30 19:16:46 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-30 19:16:46 +0000
commit83c16a3eca11fda47345b4257a75dd06949bcfa4 (patch)
tree198de3f546bf63ad92c58c4879caf5b772725e8d /net
parent29547ac3cd5791f9d395c180fb7b7a65f2201a81 (diff)
downloadports-83c16a3eca11fda47345b4257a75dd06949bcfa4.tar.gz
ports-83c16a3eca11fda47345b4257a75dd06949bcfa4.zip
Fix build with nettle 3.7.2
PR: 254355 Submitted by: mandree
Notes
Notes: svn path=/head/; revision=569585
Diffstat (limited to 'net')
-rw-r--r--net/libstorj/files/patch-src_crypto.c11
-rw-r--r--net/libstorj/files/patch-src_crypto.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/net/libstorj/files/patch-src_crypto.c b/net/libstorj/files/patch-src_crypto.c
new file mode 100644
index 000000000000..d1b0a2a1d3e2
--- /dev/null
+++ b/net/libstorj/files/patch-src_crypto.c
@@ -0,0 +1,11 @@
+--- src/crypto.c.orig 2018-05-10 18:45:47 UTC
++++ src/crypto.c
+@@ -216,7 +216,7 @@ int sha512_of_str(const uint8_t *str, int str_len, uin
+ return 0;
+ }
+
+-void pbkdf2_hmac_sha512 (
++void off_pbkdf2_hmac_sha512 (
+ unsigned key_length,
+ const uint8_t *key,
+ unsigned iterations,
diff --git a/net/libstorj/files/patch-src_crypto.h b/net/libstorj/files/patch-src_crypto.h
new file mode 100644
index 000000000000..5212609b064f
--- /dev/null
+++ b/net/libstorj/files/patch-src_crypto.h
@@ -0,0 +1,11 @@
+--- src/crypto.h.orig 2018-05-10 18:45:47 UTC
++++ src/crypto.h
+@@ -40,7 +40,7 @@ int double_ripemd160sha256(uint8_t *data, uint64_t dat
+ int double_ripemd160sha256_as_string(uint8_t *data, uint64_t data_size,
+ char **digest);
+
+-void pbkdf2_hmac_sha512(unsigned key_length,
++void off_pbkdf2_hmac_sha512(unsigned key_length,
+ const uint8_t *key,
+ unsigned iterations,
+ unsigned salt_length, const uint8_t *salt,