Ticket #48992: elixir-1.1.0.diff
File elixir-1.1.0.diff, 1.7 KB (added by ci42, 9 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup elixir-lang elixir 1. 0.5v7 github.setup elixir-lang elixir 1.1.0 v 8 8 epoch 1 9 revision 110 9 categories lang 11 10 platforms darwin 12 11 supported_archs noarch … … 25 24 26 25 depends_lib port:erlang 27 26 28 # erlang 18 support - see https://github.com/elixir-lang/elixir/pull/3241/files 29 patchfiles patch-lib-elixir-lib-process.ex.diff 27 checksums rmd160 01f06340d9ae5d60542a1b8d74bb5010dae1b50f \ 28 sha256 46be45912d72bc0f1c5c57522a654838d0c6a4594116e56637b478e92659e242 30 29 31 checksums rmd160 575f4f841b6b7937c118fd3004d5cf75ea2140ec\32 sha256 3e6458bbd3e09c0724e651e35eaf804fd564626ec0e8eba1b02ab6d9be45a48233 34 30 use_configure no 35 31 36 32 build.target compile -
files/patch-lib-elixir-lib-process.ex.diff
1 --- lib/elixir/lib/process.ex.orig 2015-08-26 20:35:50.000000000 +02002 +++ lib/elixir/lib/process.ex 2015-08-26 20:36:32.000000000 +02003 @@ -48,6 +48,15 @@4 end5 6 @doc """7 + Returns all keys8 + """9 +10 + @spec get_keys() :: [term]11 + def get_keys do12 + :erlang.get_keys()13 + end14 +15 + @doc """16 Returns all keys that have the given `value`.17 """18 @spec get_keys(term) :: [term]