security/erlang-jose: Provide workaround to build on erlang>=21.
This commit is contained in:
parent
f5a300924a
commit
dc6fe07987
2 changed files with 20 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.1 2017/12/14 21:04:40 fhajny Exp $
|
||||
$NetBSD: distinfo,v 1.2 2018/07/20 09:55:47 fhajny Exp $
|
||||
|
||||
SHA1 (jose-1.8.4.tar.gz) = ce78563fbc0cb71121230f8883fde747c558e55b
|
||||
RMD160 (jose-1.8.4.tar.gz) = 94f38bc1018bc87af0b2c386b0e0b790464bd9f6
|
||||
SHA512 (jose-1.8.4.tar.gz) = 47171b4e5f6b61735a15365b4130c110c14de1f4b157cdbf97b448550d48de4ab27a30537e9d9f613d87862d592b3bd95638daacee60f3f5b9877d80a3de773b
|
||||
Size (jose-1.8.4.tar.gz) = 230947 bytes
|
||||
SHA1 (patch-src_jose__public__key.erl) = f7a0a75a332d3b58ab4946ff88835b6149a74589
|
||||
|
|
18
security/erlang-jose/patches/patch-src_jose__public__key.erl
Normal file
18
security/erlang-jose/patches/patch-src_jose__public__key.erl
Normal file
|
@ -0,0 +1,18 @@
|
|||
$NetBSD: patch-src_jose__public__key.erl,v 1.1 2018/07/20 09:55:47 fhajny Exp $
|
||||
|
||||
Workaround to build on Erlang 21.
|
||||
https://github.com/potatosalad/erlang-jose/pull/55
|
||||
|
||||
--- src/jose_public_key.erl.orig 2017-05-19 01:49:53.000000000 +0000
|
||||
+++ src/jose_public_key.erl
|
||||
@@ -12,6 +12,10 @@
|
||||
|
||||
-include("jose_public_key.hrl").
|
||||
|
||||
+-ifdef(OTP_RELEASE).
|
||||
+-compile({nowarn_deprecated_function, [{erlang, get_stacktrace, 0}]}).
|
||||
+-endif.
|
||||
+
|
||||
%% API
|
||||
-export([der_decode/2]).
|
||||
-export([der_encode/2]).
|
Loading…
Reference in a new issue