pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/erlang-jose security/erlang-jose: Provide wor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/423e56265f5d
branches:  trunk
changeset: 383060:423e56265f5d
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Fri Jul 20 09:55:47 2018 +0000

description:
security/erlang-jose: Provide workaround to build on erlang>=21.

diffstat:

 security/erlang-jose/distinfo                                |   3 +-
 security/erlang-jose/patches/patch-src_jose__public__key.erl |  18 ++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 1b310971440c -r 423e56265f5d security/erlang-jose/distinfo
--- a/security/erlang-jose/distinfo     Fri Jul 20 09:43:50 2018 +0000
+++ b/security/erlang-jose/distinfo     Fri Jul 20 09:55:47 2018 +0000
@@ -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 -r 1b310971440c -r 423e56265f5d security/erlang-jose/patches/patch-src_jose__public__key.erl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/erlang-jose/patches/patch-src_jose__public__key.erl      Fri Jul 20 09:55:47 2018 +0000
@@ -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]).



Home | Main Index | Thread Index | Old Index