Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sqliteodbc for openSUSE:Factory checked in at 2025-07-21 20:02:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sqliteodbc (Old) and /work/SRC/openSUSE:Factory/.sqliteodbc.new.8875 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sqliteodbc" Mon Jul 21 20:02:11 2025 rev:12 rq:1294808 version:0.99991 Changes: -------- --- /work/SRC/openSUSE:Factory/sqliteodbc/sqliteodbc.changes 2023-11-26 19:38:54.673699973 +0100 +++ /work/SRC/openSUSE:Factory/.sqliteodbc.new.8875/sqliteodbc.changes 2025-07-21 20:03:31.007116912 +0200 @@ -1,0 +2,7 @@ +Thu Jun 26 06:34:04 UTC 2025 - pgaj...@suse.com + +- added patches + fix build with gcc15 + + sqliteodbc-gcc15.patch + +------------------------------------------------------------------- New: ---- sqliteodbc-gcc15.patch ----------(New B)---------- New: fix build with gcc15 + sqliteodbc-gcc15.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sqliteodbc.spec ++++++ --- /var/tmp/diff_new_pack.HP9wXm/_old 2025-07-21 20:03:31.591141217 +0200 +++ /var/tmp/diff_new_pack.HP9wXm/_new 2025-07-21 20:03:31.591141217 +0200 @@ -26,6 +26,8 @@ Source0: http://www.ch-werner.de/sqliteodbc/%{name}-%{version}.tar.gz # This is not typical shared library but plugin for unixODBC Source1: %{name}-rpmlintrc +# fix build with gcc15 +Patch0: sqliteodbc-gcc15.patch BuildRequires: dos2unix BuildRequires: doxygen BuildRequires: graphviz @@ -54,7 +56,7 @@ documentation. %prep -%setup -q +%autosetup -p1 # Fix bug https://bugzilla.novell.com/show_bug.cgi?id=969496 # No more changing time stamp for every time this builds echo "HTML_TIMESTAMP = NO" >> doxygen.conf ++++++ sqliteodbc-gcc15.patch ++++++ diff -upr sqliteodbc-0.99991.orig/sqlite3odbc.c sqliteodbc-0.99991/sqlite3odbc.c --- sqliteodbc-0.99991.orig/sqlite3odbc.c 2025-06-25 15:01:51.572128342 +0000 +++ sqliteodbc-0.99991/sqlite3odbc.c 2025-06-26 06:29:23.121622140 +0000 @@ -1240,7 +1240,7 @@ static void drvgetgpps(DBC *d) { void *lib; - int (*gpps)(); + int (*gpps)(char *, char *, char *, char *, int, char *); lib = dlopen("libodbcinst.so.2", RTLD_LAZY); if (!lib) { @@ -1256,7 +1256,7 @@ drvgetgpps(DBC *d) lib = dlopen("libiodbcinst.so", RTLD_LAZY); } if (lib) { - gpps = (int (*)()) dlsym(lib, "SQLGetPrivateProfileString"); + gpps = (int (*)(char *, char *, char *, char *, int, char *)) dlsym(lib, "SQLGetPrivateProfileString"); if (!gpps) { dlclose(lib); return; @@ -14835,7 +14835,7 @@ drvtables(SQLHSTMT stmt, #ifdef MEMORY_DEBUG s->rowfree = xfree__; #else - s->rowfree = sqlite3_free; + s->rowfree = (void (*)(char **))sqlite3_free; #endif s->nrows = 2; s->rowp = s->rowprs = -1; @@ -15918,7 +15918,7 @@ drvgettypeinfo(SQLHSTMT stmt, SQLSMALLIN #ifdef MEMORY_DEBUG s->rowfree = xfree__; #else - s->rowfree = sqlite3_free; + s->rowfree = (void (*)(char **))sqlite3_free; #endif memset(s->rows, 0, sizeof (char *) * (s->nrows + 1) * asize); if (sqltype == SQL_ALL_TYPES) { diff -upr sqliteodbc-0.99991.orig/sqlite3odbc.h sqliteodbc-0.99991/sqlite3odbc.h --- sqliteodbc-0.99991.orig/sqlite3odbc.h 2025-06-25 15:01:51.572481260 +0000 +++ sqliteodbc-0.99991/sqlite3odbc.h 2025-06-26 06:27:22.667908348 +0000 @@ -147,7 +147,7 @@ typedef struct dbc { int pwdLen; /**< Length of password */ #ifdef USE_DLOPEN_FOR_GPPS void *instlib; - int (*gpps)(); + int (*gpps)(char *, char *, char *, char *, int, char *); #endif #if defined(_WIN32) || defined(_WIN64) CRITICAL_SECTION cs; /**< For serializing most APIs */ @@ -256,7 +256,7 @@ typedef struct stmt { int rowp; /**< Current result row */ int rowprs; /**< Current start row of rowset */ char **rows; /**< 2-dim array, result set */ - void (*rowfree)(); /**< Free function for rows */ + void (*rowfree)(char **); /**< Free function for rows */ int naterr; /**< Native error code */ char sqlstate[6]; /**< SQL state for SQLError() */ SQLCHAR logmsg[1024]; /**< Message for SQLError() */ diff -upr sqliteodbc-0.99991.orig/sqlite4odbc.h sqliteodbc-0.99991/sqlite4odbc.h --- sqliteodbc-0.99991.orig/sqlite4odbc.h 2025-06-25 15:01:51.572963218 +0000 +++ sqliteodbc-0.99991/sqlite4odbc.h 2025-06-26 06:27:36.234956092 +0000 @@ -252,7 +252,7 @@ typedef struct stmt { int rowp; /**< Current result row */ int rowprs; /**< Current start row of rowset */ char **rows; /**< 2-dim array, result set */ - void (*rowfree)(); /**< Free function for rows */ + void (*rowfree)(char **); /**< Free function for rows */ int naterr; /**< Native error code */ char sqlstate[6]; /**< SQL state for SQLError() */ SQLCHAR logmsg[1024]; /**< Message for SQLError() */