Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jan 2024 15:08:11 GMT
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e54574be5954 - main - databases/rubygem-mysql: fix build with mariadb 10.11 and ruby 3.2
Message-ID:  <202401211508.40LF8B6G030039@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e54574be5954aa30e525b8ee53de3dbf69f172d3

commit e54574be5954aa30e525b8ee53de3dbf69f172d3
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-01-21 15:06:25 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-01-21 15:08:05 +0000

    databases/rubygem-mysql: fix build with mariadb 10.11 and ruby 3.2
---
 databases/rubygem-mysql/files/patch-ext-mysql_api-extconf.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/databases/rubygem-mysql/files/patch-ext-mysql_api-extconf.rb b/databases/rubygem-mysql/files/patch-ext-mysql_api-extconf.rb
index 945358044a3f..5a81b1eb5fb3 100644
--- a/databases/rubygem-mysql/files/patch-ext-mysql_api-extconf.rb
+++ b/databases/rubygem-mysql/files/patch-ext-mysql_api-extconf.rb
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401211508.40LF8B6G030039>