mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
databases/rubygem-mysql: fix build with mariadb 10.11 and ruby 3.2
This commit is contained in:
parent
2f364c65c9
commit
e54574be59
@ -4,7 +4,7 @@
|
||||
next unless l =~ /errmsg\.h|mysqld_error\.h/
|
||||
fn = l.split(/\"/)[1]
|
||||
IO.foreach(fn) do |m|
|
||||
+ next if m == 'ER_UNKNOWN_ERROR_CODE'
|
||||
+ next if m =~ /ER_UNKNOWN_ERROR_CODE/
|
||||
+
|
||||
if m =~ /^#define\s+([CE]R_[0-9A-Z_]+)/ then
|
||||
error_syms << $1
|
||||
|
Loading…
Reference in New Issue
Block a user