public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Peter Lemenkov <lemenkov@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/erlang-folsom] rawhide: Fix FTBFS
Date: Thu, 25 Jun 2026 15:32:56 GMT	[thread overview]
Message-ID: <178240157611.1.1147251818269173630.rpms-erlang-folsom-03d79af7e367@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/erlang-folsom
            Branch : rawhide
            Commit : 03d79af7e3670393f2361c1a5cefe4cd217218a1
            Author : Peter Lemenkov <lemenkov@gmail.com>
            Date   : 2026-06-25T17:32:43+02:00
            Stats  : +21/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/erlang-folsom/c/03d79af7e3670393f2361c1a5cefe4cd217218a1?branch=rawhide

            Log:
            Fix FTBFS

Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>

---
diff --git a/erlang-folsom-0001-Fix-generator-for-Erlang-27.patch b/erlang-folsom-0001-Fix-generator-for-Erlang-27.patch
new file mode 100644
index 0000000..0a1b5e3
--- /dev/null
+++ b/erlang-folsom-0001-Fix-generator-for-Erlang-27.patch
@@ -0,0 +1,20 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Peter Lemenkov <lemenkov@gmail.com>
+Date: Thu, 25 Jun 2026 17:22:29 +0200
+Subject: [PATCH] Fix generator for Erlang 27
+
+Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
+
+diff --git a/src/folsom_vm_metrics.erl b/src/folsom_vm_metrics.erl
+index aba9c15..0b5eeb9 100644
+--- a/src/folsom_vm_metrics.erl
++++ b/src/folsom_vm_metrics.erl
+@@ -267,7 +267,7 @@ get_ets_dets_info(Type, Tab) ->
+     end.
+ 
+ ip_to_binary(Tuple) ->
+-    iolist_to_binary(string:join([integer_to_list(L) || L <:- Tuple], ".")).
++    iolist_to_binary(string:join([integer_to_list(L) || L <- tuple_to_list(Tuple)], ".")).
+ 
+ convert_port_info({name, Name}) ->
+     {name, list_to_binary(Name)};

diff --git a/erlang-folsom.spec b/erlang-folsom.spec
index 042ef63..6015309 100644
--- a/erlang-folsom.spec
+++ b/erlang-folsom.spec
@@ -9,6 +9,7 @@ License:	Apache-2.0
 URL:		https://github.com/folsom-project/%{realname}
 VCS:		git:%{url}.git
 Source0:	%{url}/archive/%{version}/%{realname}-%{version}.tar.gz
+Patch:		erlang-folsom-0001-Fix-generator-for-Erlang-27.patch
 BuildRequires:	erlang-bear
 BuildRequires:	erlang-meck
 # For testing only

                 reply	other threads:[~2026-06-25 15:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178240157611.1.1147251818269173630.rpms-erlang-folsom-03d79af7e367@fedoraproject.org \
    --to=lemenkov@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox