Ticket #48992: elixir-1.1.1.diff
File elixir-1.1.1.diff, 1.7 KB (added by milmazz (Milton Mazzarri), 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.1 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 d93725e71cd3d122b660c0e27f413f69c0fc9072 \ 28 sha256 20a43adcc8c9424f939bf1004ff77c8119292aadfbca336df5d971baa86461dc 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]