[Bug 274811] databases/grass8: fix mysql connect

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Oct 2023 10:49:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274811

            Bug ID: 274811
           Summary: databases/grass8: fix mysql connect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: lbartoletti@FreeBSD.org
          Reporter: d8zNeCFG@aon.at
             Flags: maintainer-feedback?(lbartoletti@FreeBSD.org)
          Assignee: lbartoletti@FreeBSD.org

Created attachment 245993
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=245993&action=edit
patch to fix type incompatibilities

Scenario:
- FreeBSD stable/14 (Oct. 27)
- ports latest
- compiling ports using portmaster
- building databases/grass8

Result:
- build fails in db/drivers/mysql/db.c with incompatible types
  (char * instead of required int for parameter "port")

Expected result:
- build should succeed

Patch attached (compiles, but untested).

This could never have worked before - all combinations of grass7/8 and mysql
5.7/8.0 seem to be wrong.

-- Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.