pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/erlang-jose



Module Name:    pkgsrc
Committed By:   fhajny
Date:           Fri Jul 20 09:55:47 UTC 2018

Modified Files:
        pkgsrc/security/erlang-jose: distinfo
Added Files:
        pkgsrc/security/erlang-jose/patches: patch-src_jose__public__key.erl

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


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/erlang-jose/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/erlang-jose/patches/patch-src_jose__public__key.erl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/erlang-jose/distinfo
diff -u pkgsrc/security/erlang-jose/distinfo:1.1 pkgsrc/security/erlang-jose/distinfo:1.2
--- pkgsrc/security/erlang-jose/distinfo:1.1    Thu Dec 14 21:04:40 2017
+++ pkgsrc/security/erlang-jose/distinfo        Fri Jul 20 09:55:47 2018
@@ -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

Added files:

Index: pkgsrc/security/erlang-jose/patches/patch-src_jose__public__key.erl
diff -u /dev/null pkgsrc/security/erlang-jose/patches/patch-src_jose__public__key.erl:1.1
--- /dev/null   Fri Jul 20 09:55:47 2018
+++ pkgsrc/security/erlang-jose/patches/patch-src_jose__public__key.erl Fri Jul 20 09:55:47 2018
@@ -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