commit: afa3d718b565c9abe2933af6e99fded2337f81c3 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at> AuthorDate: Thu Apr 18 18:05:36 2024 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Thu Apr 18 19:31:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa3d718
dev-ruby/ffi-compiler: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at> Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> dev-ruby/ffi-compiler/files/respect-cflags.patch | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/dev-ruby/ffi-compiler/files/respect-cflags.patch b/dev-ruby/ffi-compiler/files/respect-cflags.patch deleted file mode 100644 index 3fe68f8211cb..000000000000 --- a/dev-ruby/ffi-compiler/files/respect-cflags.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/lib/ffi-compiler/compile_task.rb b/lib/ffi-compiler/compile_task.rb -index 363c247..637fd3d 100644 ---- a/lib/ffi-compiler/compile_task.rb -+++ b/lib/ffi-compiler/compile_task.rb -@@ -26,9 +26,9 @@ module FFI - @libraries = [] - @headers = [] - @functions = [] -- @cflags = DEFAULT_CFLAGS.dup -- @cxxflags = DEFAULT_CFLAGS.dup -- @ldflags = DEFAULT_LDFLAGS.dup -+ @cflags = ENV['CFLAGS']&.split || DEFAULT_CFLAGS.dup -+ @cxxflags = ENV['CXXFLAGS']&.split || DEFAULT_CFLAGS.dup -+ @ldflags = ENV['LDFLAGS']&.split || DEFAULT_LDFLAGS.dup - @libs = [] - @platform = Platform.system - @exports = []