Bug 229950

Summary: databases/mysql++3: Fix build with MariaDB 10.2
Product: Ports & Packages Reporter: Ting-Wei Lan <lantw44>
Component: Individual Port(s)Assignee: Jochen Neumeister <joneum>
Status: Closed FIXED    
Severity: Affects Only Me CC: joneum, wyoung
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Fix build with MariaDB 10.2 none

Description Ting-Wei Lan 2018-07-22 07:07:14 UTC
Created attachment 195362 [details]
Fix build with MariaDB 10.2

Currently MySQL++ 3 doesn't build with MariaDB 10.2:

./lib/dbdriver.cpp:260:10: error: use of undeclared identifier 'CLIENT_LONG_PASSWORD'
                        (o >= CLIENT_LONG_PASSWORD) &&
                              ^
1 warning and 1 error generated.
gmake[1]: *** [Makefile:545: mysqlpp_dbdriver.o] Error 1

The patch to fix the problem is already accepted by the upstream, but there is no released version of MySQL++ 3 including the fix.
Comment 1 Jochen Neumeister freebsd_committer freebsd_triage 2018-07-29 12:56:08 UTC
Landed. Thanks :-)
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-07-29 12:56:25 UTC
A commit references this bug:

Author: joneum
Date: Sun Jul 29 12:55:56 UTC 2018
New revision: 475659
URL: https://svnweb.freebsd.org/changeset/ports/475659

Log:
  databases/mysql++3: Fix build with MariaDB 10.2

  ./lib/dbdriver.cpp:260:10: error: use of undeclared identifier 'CLIENT_LONG_PASSWORD'
                          (o >= CLIENT_LONG_PASSWORD) &&
                                ^
  1 warning and 1 error generated.
  gmake[1]: *** [Makefile:545: mysqlpp_dbdriver.o] Error 1

  PR:		229950
  Submitted by:	Ting-Wei Lan <lantw44@gmail.com> (maintainer)

Changes:
  head/databases/mysql++3/files/patch-lib_dbdriver.cpp
Comment 3 Warren Young 2018-08-04 11:43:07 UTC
MySQL++ 3.2.4 is out with this fix and more.