Ticket #48992: elixir-1.1.1.diff

File elixir-1.1.1.diff, 1.7 KB (added by milmazz (Milton Mazzarri), 9 years ago)

Patch for Elixir v1.1.1

  • Portfile

     
    44PortSystem          1.0
    55PortGroup           github 1.0
    66
    7 github.setup        elixir-lang elixir 1.0.5 v
     7github.setup        elixir-lang elixir 1.1.1 v
    88epoch               1
    9 revision            1
    109categories          lang
    1110platforms           darwin
    1211supported_archs     noarch
     
    2524
    2625depends_lib         port:erlang
    2726
    28 # erlang 18 support - see https://github.com/elixir-lang/elixir/pull/3241/files
    29 patchfiles          patch-lib-elixir-lib-process.ex.diff
     27checksums           rmd160 d93725e71cd3d122b660c0e27f413f69c0fc9072 \
     28                    sha256 20a43adcc8c9424f939bf1004ff77c8119292aadfbca336df5d971baa86461dc
    3029
    31 checksums           rmd160 575f4f841b6b7937c118fd3004d5cf75ea2140ec\
    32                     sha256 3e6458bbd3e09c0724e651e35eaf804fd564626ec0e8eba1b02ab6d9be45a482
    33 
    3430use_configure       no
    3531
    3632build.target        compile
  • files/patch-lib-elixir-lib-process.ex.diff

     
    1 --- lib/elixir/lib/process.ex.orig      2015-08-26 20:35:50.000000000 +0200
    2 +++ lib/elixir/lib/process.ex   2015-08-26 20:36:32.000000000 +0200
    3 @@ -48,6 +48,15 @@
    4    end
    5  
    6    @doc """
    7 +  Returns all keys
    8 +  """
    9 +
    10 +  @spec get_keys() :: [term]
    11 +  def get_keys do
    12 +    :erlang.get_keys()
    13 +  end
    14 +
    15 +  @doc """
    16    Returns all keys that have the given `value`.
    17    """
    18    @spec get_keys(term) :: [term]