Files
elixir115/0001-Use-PID-valid-for-32-bit-systems-closes-12741.patch
Simon Lees 00ad5ae61c - Use pregenerated documentation
- Switch from %patch0 to %autosetup

- Update to Elixir 1.15.7:
  * Fix build for Erlang 26
  * Changelog available at https://hexdocs.pm/elixir/1.15.7/changelog.html
- Add 0001-Use-PID-valid-for-32-bit-systems-closes-12741.patch:
  * Fix build for 32bit
- Add 0001-Use-PID-valid-for-32-bit-systems-followup-to-12741-1.patch:
  * Fix build for 32bit

- Add _multibuild to define 2nd spec file as additional flavor.
  Eliminates the need for source package links in OBS.

- Drop git as a requires and switch buildrequires from git to git-core
 * Git is not needed to use Elixir, only to run some tests
   (which git-core can accomplish on its own without git)

- Elixir 1.14.2 
  * 1. Enhancements
    Elixir
      [Code] Add Code.eval_quoted_with_env/4 with support for the :prune_binding option
    ExUnit
      [ExUnit.Case] Allow test cases to not be registered on use
      [ExUnit.DocTest] Include :doctest and :doctest_line as meta tags
      [ExUnit.Formatter] Expose ExUnit.Formatter.format_assertion_diff/4
    Mix
      [Mix] Mix.install/2 accepts atoms as paths
  * 2. Bug fixes

OBS-URL: https://build.opensuse.org/package/show/home:simotek/elixir115?expand=0&rev=1
2024-07-30 01:58:17 +00:00

29 lines
1.1 KiB
Diff

From 8bc67d384b0c21d9bbc7145829ecd49e128038b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Valim?= <jose.valim@dashbit.co>
Date: Sun, 2 Jul 2023 10:28:58 +0200
Subject: [PATCH] Use PID valid for 32-bit systems, closes #12741
---
lib/logger/test/logger/formatter_test.exs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/logger/test/logger/formatter_test.exs b/lib/logger/test/logger/formatter_test.exs
index 82a2ac6a9..2ea4ca08b 100644
--- a/lib/logger/test/logger/formatter_test.exs
+++ b/lib/logger/test/logger/formatter_test.exs
@@ -116,9 +116,9 @@ test "format with format string" do
format = format(compiled, :error, nil, nil, meta: :data)
assert IO.chardata_to_string(format) == "meta=data "
- pid = :erlang.list_to_pid(~c"<0.123.4>")
+ pid = :erlang.list_to_pid(~c"<0.123.0>")
format = format(compiled, :error, nil, nil, meta: :data, pid: pid)
- assert IO.chardata_to_string(format) == "meta=data pid=<0.123.4> "
+ assert IO.chardata_to_string(format) == "meta=data pid=<0.123.0> "
# Hack to get the same predictable reference for every test run.
ref =
--
2.35.3