public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/mkvtoolnix] f45: Support upcoming ruby4.1
Date: Wed, 25 Nov 2026 09:48:08 GMT [thread overview]
Message-ID: <179560008883.1.6664912733824884465.rpms-mkvtoolnix-c4aaae867ae8@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mkvtoolnix
Branch : f45
Commit : c4aaae867ae8a6f3cedbde643af80a28cb31f6f2
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date : 2026-11-19T15:03:08+09:00
Stats : +38/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mkvtoolnix/c/c4aaae867ae8a6f3cedbde643af80a28cb31f6f2?branch=f45
Log:
Support upcoming ruby4.1
---
diff --git a/mkvtoolnix-103.0-support-ruby4_1.patch b/mkvtoolnix-103.0-support-ruby4_1.patch
new file mode 100644
index 0000000..bb2844b
--- /dev/null
+++ b/mkvtoolnix-103.0-support-ruby4_1.patch
@@ -0,0 +1,33 @@
+From 1eddab5d8fb7f91446199d73916297aceb3eb35e Mon Sep 17 00:00:00 2001
+From: Moritz Bunkus <mo@bunkus.online>
+Date: Wed, 18 Nov 2026 17:11:13 +0100
+Subject: [PATCH] build system: fix syntax error for Ruby 4.1.0
+
+fixes #6334
+---
+ NEWS.md | 2 ++
+ rake.d/pch.rb | 11 ++++++-----
+ 2 files changed, 8 insertions(+), 5 deletions(-)
+
+diff --git a/rake.d/pch.rb b/rake.d/pch.rb
+index e2230d656..c3018c175 100644
+--- a/rake.d/pch.rb
++++ b/rake.d/pch.rb
+@@ -646,11 +646,12 @@ PCH status: <%= c?(:USE_PRECOMPILED_HEADERS) ? "enabled" : "disabled" %>
+ @endblock_skip_save = false
+
+ END {
+- next if @endblock_skip_save
+- begin
+- save_config
+- rescue StandardError => e
+- puts "WARNING: failed to save config: #{e}"
++ if !@endblock_skip_save
++ begin
++ save_config
++ rescue StandardError => e
++ puts "WARNING: failed to save config: #{e}"
++ end
+ end
+ }
+
diff --git a/mkvtoolnix.spec b/mkvtoolnix.spec
index c8f818f..e7f3660 100644
--- a/mkvtoolnix.spec
+++ b/mkvtoolnix.spec
@@ -6,6 +6,10 @@ License: GPL-2.0-or-later AND LGPL-2.1-or-later
Source0: https://mkvtoolnix.download/sources/mkvtoolnix-%{version}.tar.xz
Source1: https://mkvtoolnix.download/sources/mkvtoolnix-%{version}.tar.xz.sig
Source2: https://mkvtoolnix.download/gpg-pub-moritzbunkus.txt
+# Support ruby 4.1.0dev
+# https://codeberg.org/mbunkus/mkvtoolnix/issues/6334
+# https://codeberg.org/mbunkus/mkvtoolnix/commit/1eddab5d8fb7f91446199d73916297aceb3eb35e
+Patch0: mkvtoolnix-103.0-support-ruby4_1.patch
URL: https://mkvtoolnix.download/
BuildRequires: boost-devel
BuildRequires: cmake(Qt6Concurrent)
@@ -68,6 +72,7 @@ This package contains the QT graphical interface for these utilities.
%prep
%{openpgpverify} --keyring='%{S:2}' --signature='%{S:1}' --data='%{S:0}'
%setup -q
+%patch -P0 -p1
rm -rf lib/{fmt,libebml,libmatroska,nlohmann-json,pugixml,utf8-cpp}
rm -rf rake.d/vendor drake
reply other threads:[~2026-11-25 9:48 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=179560008883.1.6664912733824884465.rpms-mkvtoolnix-c4aaae867ae8@fedoraproject.org \
--to=mtasaka@fedoraproject.org \
--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