svn commit: r569585 - head/net/libstorj/files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Tue Mar 30 19:16:48 UTC 2021


Author: sunpoet
Date: Tue Mar 30 19:16:46 2021
New Revision: 569585
URL: https://svnweb.freebsd.org/changeset/ports/569585

Log:
  Fix build with nettle 3.7.2
  
  PR:		254355
  Submitted by:	mandree

Added:
  head/net/libstorj/files/
  head/net/libstorj/files/patch-src_crypto.c   (contents, props changed)
  head/net/libstorj/files/patch-src_crypto.h   (contents, props changed)

Added: head/net/libstorj/files/patch-src_crypto.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libstorj/files/patch-src_crypto.c	Tue Mar 30 19:16:46 2021	(r569585)
@@ -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,

Added: head/net/libstorj/files/patch-src_crypto.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libstorj/files/patch-src_crypto.h	Tue Mar 30 19:16:46 2021	(r569585)
@@ -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,


More information about the svn-ports-head mailing list