summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2018-07-20 09:55:47 +0000
committerfhajny <fhajny@pkgsrc.org>2018-07-20 09:55:47 +0000
commit7fd02e4a24b31b17ed60e935b48a66712295e577 (patch)
tree056a90da9ffe32dec1f8cd61fbd48c3dbecdef88 /security
parent4d4560683bbecc037cbd1530d7afa1c6be29db6a (diff)
downloadpkgsrc-7fd02e4a24b31b17ed60e935b48a66712295e577.tar.gz
security/erlang-jose: Provide workaround to build on erlang>=21.
Diffstat (limited to 'security')
-rw-r--r--security/erlang-jose/distinfo3
-rw-r--r--security/erlang-jose/patches/patch-src_jose__public__key.erl18
2 files changed, 20 insertions, 1 deletions
diff --git a/security/erlang-jose/distinfo b/security/erlang-jose/distinfo
index cb4e7be7409..e978336d7d7 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 00000000000..cd483ae718b
--- /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]).