mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Fix build on Ruby 3.3.10 (and any Ruby with 2 digit tiny version).
Didn't package before on Ruby 3.3.10, and only affects building, not runtime, so no bump needed.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Work with Ruby 3.3.10 (and any Ruby version with 2 digit tiny version).
|
||||
Index: ext/amalgalite/c/extconf.rb
|
||||
--- ext/amalgalite/c/extconf.rb.orig
|
||||
+++ ext/amalgalite/c/extconf.rb
|
||||
@@ -80,5 +80,5 @@ ignoreable_warnings.each do |warning|
|
||||
$CFLAGS += " -Wno-#{warning}"
|
||||
end
|
||||
|
||||
-subdir = RUBY_VERSION.sub(/\.\d$/,'')
|
||||
+subdir = RUBY_VERSION.sub(/\.\d+\z/,'')
|
||||
create_makefile("amalgalite/#{subdir}/amalgalite")
|
||||
Reference in New Issue
Block a user