diff --git a/www-apps/jekyll/files/jekyll-4.1.1-minitest6.patch b/www-apps/jekyll/files/jekyll-4.1.1-minitest6.patch new file mode 100644 index 0000000000000..a7b505adf3a88 --- /dev/null +++ b/www-apps/jekyll/files/jekyll-4.1.1-minitest6.patch @@ -0,0 +1,18 @@ +https://github.com/jekyll/jekyll/pull/9954 + +From d074e4a4b644dbdf4c11d88f01a68d44033185ea Mon Sep 17 00:00:00 2001 +From: Matt Rogers +Date: Sun, 29 Mar 2026 22:23:20 -0500 +Subject: [PATCH] fix: adapt to new minitest versions + +--- a/test/test_page_without_a_file.rb ++++ b/test/test_page_without_a_file.rb +@@ -64,7 +64,7 @@ def render_and_write + assert_equal "All the properties.\n", regular_page["content"] + assert_equal "properties.html", regular_page["name"] + +- basic_attrs = %w(dir name path url excerpt) ++ basic_attrs = %w(dir name path url) + attrs = { + "content" => nil, + "dir" => "/", diff --git a/www-apps/jekyll/jekyll-4.4.1.ebuild b/www-apps/jekyll/jekyll-4.4.1.ebuild index 2d93402d2aa13..eafaf4e2283b4 100644 --- a/www-apps/jekyll/jekyll-4.4.1.ebuild +++ b/www-apps/jekyll/jekyll-4.4.1.ebuild @@ -53,6 +53,10 @@ ruby_add_bdepend " ) " +PATCHES=( + "${FILESDIR}"/jekyll-4.1.1-minitest6.patch +) + all_ruby_prepare() { eapply "${FILESDIR}"/jekyll-3.6.0-test-helper.patch eapply -R "${FILESDIR}/jekyll-4.3.2-sass.patch"