HomeFreeBSD

databases/qt5-sqldrivers-mysql: fix against mysql 5.7.34

Description

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.

PR: 248929

(cherry picked from commit e093f1162c353f3d62dce85e9e74053fc9a4743c)

Details

Provenance
adridgAuthored on Jul 11 2021, 3:52 PM
tcbernerCommitted on Aug 27 2021, 3:18 PM
Parents
R11:eda522698142: x11/foot: regen termcap workaround
Branches
Unknown
Tags
Unknown