|non port: databases/qt5-sqldrivers-mysql/files/patch-src_plugins_sqldrivers_mysql_qsql__mysql.cpp
Number of commits found: 5
Sun, 11 Jul 2021
[ 16:12 Adriaan de Groot (adridg) ] e093f11
databases/qt5-sqldrivers-mysql: fix against mysql 5.7.34
In mysql 5.7.34 binding a parameter to a 0-sized buffer triggers
an assert() -- previously this was DBG_ASSERT. This triggers
crashes in databases/akonadi in particular, which binds blobs of
size 0. This patch allows akonadi with the default mysql to
start (at all) again.
The patch file previously held a Qt4-era patch which had long
ago had a better patch applied upstream (the comment in the
patch refers to that). The old stuff has been removed, leaving
only the parameter-fix.
Mon, 6 Jul 2020
[ 06:43 tcberner ] (Only the first 10 of 211 ports in this commit are shown above. )
Update Qt5 to 5.15
This is a major upgrade of the Qt libraries , .
* People that use upgrading mechanisms with incomplete dependency handling
(portmaster & Co) should make sure to manually remove the existing Qt
packages to guarantee a safe upgrade. Keep in mind, that Qt does not like if
you have an incomplete upgrade.
* This version of Qt drops support for OpenSSL 1.0 -- this means that there
won't be any binary packages for Qt5 provided by the FreeBSD package builders
for FreeBSD 11.x anymore -- and the same for *all* the ports depending on
net/qt5-network . If you cannot upgrade to a more recent FreeBSD
version (12.x, 13.x), you will need to build Qt5 from ports while switching
to an SSL implementation from ports.(Only the first 15 lines of the commit message are shown above )
Sat, 2 Jun 2018
[ 20:22 adridg ]
Comment on patch for databases/qt5-sqldrivers-mysql
Add a note to the patch for MariaDB-compatibility on how to do it
without ifdefs, which therefore would track changes in MariaDB
definitions (if it follows the MySQL change) automatically.
Fri, 1 Jun 2018
[ 22:16 adridg ]
Fix build of the Qt SQL plugins for MySQL against MariaDB 10.
Recent MySQL code has deprecated the my_bool type, so r469165
added a check for that recent version. MariaDB pretends to be
MySQL, and has an even newer version, which nonetheless hasn't
taken over the drop-my_bool-type change. So my_bool still exists
there. Assume, for now, that MariaDB has my_bool regardless,
to fix incompatibilities reported after PR227813 was closed.
Reported by: Jashank Jeremy
Sat, 5 May 2018
[ 20:05 tcberner ]
databases/qt4-mysql-plugin & databases/qt5-sqldrivers-mysql: fix build against
mysql >= 8.0.1.
From the mysql release notes :
Incompatible Change: The my_bool type is no longer used in MySQL source code.
Any third-party code that used this type to represent C boolean variables
use the bool or int C type instead.
The change from my_bool to bool means that the mysql.h header file now
a C++ or C99 compiler to compile.
Reported by: firstname.lastname@example.org
Number of commits found: 5