commit:     548f24c937f7de370a16d0d284b2a78719145f69
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  1 21:28:24 2026 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Jan  1 21:28:24 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548f24c9

dev-ruby/ffi: account for moved file

Closes: https://bugs.gentoo.org/968222
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/ffi/ffi-1.17.3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/ffi/ffi-1.17.3.ebuild b/dev-ruby/ffi/ffi-1.17.3.ebuild
index b433bd15e84b..d4e44cfdb4d0 100644
--- a/dev-ruby/ffi/ffi-1.17.3.ebuild
+++ b/dev-ruby/ffi/ffi-1.17.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -34,6 +34,9 @@ all_ruby_prepare() {
        sed -i -e '/tasks/ s:^:#:' \
                -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
 
+       sed -e 's:require "ffi/tools/types_generator":require_relative 
"../rakelib/types_generator":' \
+               -i gen/Rakefile || die
+
        sed -e '/require/c\require "./lib/ffi/version"' \
                -e 's/git ls-files -z/find * -print0/' \
                -e '/^  lfs/,/^  end/ s:^:#:' \

Reply via email to