diff options
| author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2024-04-23 00:22:49 +0530 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-02-12 09:02:14 +0000 |
| commit | 6e172d5de45574c8ab144f20e7707b2b2918a70c (patch) | |
| tree | fb36a77fd969a48b9bd6982e16c3ee193e83a2e7 /dev-lang/xsb/files/xsb-4.0.0-gcc14-sql.patch | |
| parent | 8ab0ae2c596e4d1a115cf207b0c06fbaad8b203f (diff) | |
| download | gentoo-6e172d5de45574c8ab144f20e7707b2b2918a70c.tar.gz gentoo-6e172d5de45574c8ab144f20e7707b2b2918a70c.tar.bz2 gentoo-6e172d5de45574c8ab144f20e7707b2b2918a70c.zip | |
dev-lang/xsb: Fix passing of incompatible pointer type
[sam: Add a fix for https://bugs.gentoo.org/949632 too.]
Closes: https://bugs.gentoo.org/949632
Closes: https://bugs.gentoo.org/930439
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36363
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/xsb/files/xsb-4.0.0-gcc14-sql.patch')
| -rw-r--r-- | dev-lang/xsb/files/xsb-4.0.0-gcc14-sql.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-lang/xsb/files/xsb-4.0.0-gcc14-sql.patch b/dev-lang/xsb/files/xsb-4.0.0-gcc14-sql.patch new file mode 100644 index 000000000000..d100bdbb0cce --- /dev/null +++ b/dev-lang/xsb/files/xsb-4.0.0-gcc14-sql.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/949632 +--- a/emu/odbc_xsb.c 2021-03-06 18:46:16.000000000 -0500 ++++ b/emu/odbc_xsb.c 2025-02-11 15:49:47.204779582 -0500 +@@ -411,10 +411,10 @@ + cberrormsgmax=SQL_MAX_MESSAGE_LENGTH-1; + if (cur != NULL) + rc = SQLError(SQL_NULL_HENV, cur->hdbc, cur->hstmt, szsqlstate, +- pfnativeerror, szerrormsg,cberrormsgmax,pcberrormsg); ++ (void *)pfnativeerror, szerrormsg,cberrormsgmax,pcberrormsg); + else + rc = SQLError(SQL_NULL_HENV, NULL, SQL_NULL_HSTMT, szsqlstate, +- pfnativeerror, szerrormsg,cberrormsgmax,pcberrormsg); ++ (void *)pfnativeerror, szerrormsg,cberrormsgmax,pcberrormsg); + if ((rc == SQL_SUCCESS) || (rc == SQL_SUCCESS_WITH_INFO)) { + term = makecs(hreg); + bld_functor(hreg, pair_psc(insert("odbc_error",2,(Psc)flags[CURRENT_MODULE],&isnew))); |
