diff options
| author | Daniel McCarney <daniel@binaryparadox.net> | 2025-03-20 12:18:50 -0400 |
|---|---|---|
| committer | Daniel McCarney <daniel@binaryparadox.net> | 2025-03-20 12:18:50 -0400 |
| commit | 04704adcd6dea22bec5a9583186ca56f78923738 (patch) | |
| tree | 302f7522b912c4793014b830ffc91520b8760420 /pkgs/development/python-modules/python-openstackclient | |
| parent | 321754aaab31d549efcff43789da6f2ddfa3750a (diff) | |
ldmud: patch mysql configure script detection
The upstream `configure.ac`'s `AC_LANG_PROGRAM` for mysql feature
detection seems to be incompatible with the `mariadb-connector-c`
package, resulting in support not being detected.
Digging in to the `config.log` we can see it's a type mismatch error
from the test program `.c`:
```
configure:11661: checking for mySQL
configure:11694: gcc -c -g -O2 -fwrapv -I/usr/inet6/include -I/nix/store/ya8wpj6dqz39024v6xrv504i9kyidpil-mariadb-connector-c-3.1.21-dev/include/mysql conftest.c >&5
conftest.c: In function 'foo':
conftest.c:90:12: error: returning 'MYSQL *' {aka 'struct st_mysql *'} from a function with incompatible return type 'struct MYSQL *' [-Wincompatible-pointer-types]
90 | return &var;
| ^~~~
```
This commit resolves the issue locally by applying a small patch.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
