[139785] trunk/dports/lang/elixir

ciserlohn at macports.org ciserlohn at macports.org
Wed Aug 26 11:49:41 PDT 2015


Revision: 139785
          https://trac.macports.org/changeset/139785
Author:   ciserlohn at macports.org
Date:     2015-08-26 11:49:41 -0700 (Wed, 26 Aug 2015)
Log Message:
-----------
elixir: add support for erlang 18.0 (closes #48708)

Modified Paths:
--------------
    trunk/dports/lang/elixir/Portfile

Added Paths:
-----------
    trunk/dports/lang/elixir/files/
    trunk/dports/lang/elixir/files/patch-lib-elixir-lib-process.ex.diff

Modified: trunk/dports/lang/elixir/Portfile
===================================================================
--- trunk/dports/lang/elixir/Portfile	2015-08-26 18:41:53 UTC (rev 139784)
+++ trunk/dports/lang/elixir/Portfile	2015-08-26 18:49:41 UTC (rev 139785)
@@ -6,6 +6,7 @@
 
 github.setup        elixir-lang elixir 1.0.5 v
 epoch               1
+revision            1
 categories          lang
 platforms           darwin
 supported_archs     noarch
@@ -24,6 +25,9 @@
 
 depends_lib         port:erlang
 
+# erlang 18 support - see https://github.com/elixir-lang/elixir/pull/3241/files
+patchfiles          patch-lib-elixir-lib-process.ex.diff
+
 checksums           rmd160 575f4f841b6b7937c118fd3004d5cf75ea2140ec\
                     sha256 3e6458bbd3e09c0724e651e35eaf804fd564626ec0e8eba1b02ab6d9be45a482
 

Added: trunk/dports/lang/elixir/files/patch-lib-elixir-lib-process.ex.diff
===================================================================
--- trunk/dports/lang/elixir/files/patch-lib-elixir-lib-process.ex.diff	                        (rev 0)
+++ trunk/dports/lang/elixir/files/patch-lib-elixir-lib-process.ex.diff	2015-08-26 18:49:41 UTC (rev 139785)
@@ -0,0 +1,18 @@
+--- lib/elixir/lib/process.ex.orig	2015-08-26 20:35:50.000000000 +0200
++++ lib/elixir/lib/process.ex	2015-08-26 20:36:32.000000000 +0200
+@@ -48,6 +48,15 @@
+   end
+ 
+   @doc """
++  Returns all keys
++  """
++
++  @spec get_keys() :: [term]
++  def get_keys do
++    :erlang.get_keys()
++  end
++
++  @doc """
+   Returns all keys that have the given `value`.
+   """
+   @spec get_keys(term) :: [term]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150826/31a6d76d/attachment.html>


More information about the macports-changes mailing list