mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
databases/rubygem-mysql: fix build with mariadb 10.11 and ruby 3.2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user