diff --git a/security/erlang-jose/distinfo b/security/erlang-jose/distinfo index cb4e7be7409d..e978336d7d71 100644 --- a/security/erlang-jose/distinfo +++ b/security/erlang-jose/distinfo @@ -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 diff --git a/security/erlang-jose/patches/patch-src_jose__public__key.erl b/security/erlang-jose/patches/patch-src_jose__public__key.erl new file mode 100644 index 000000000000..cd483ae718b0 --- /dev/null +++ b/security/erlang-jose/patches/patch-src_jose__public__key.erl @@ -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]).