Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package iodbc for openSUSE:Factory checked in at 2026-04-20 16:13:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iodbc (Old) and /work/SRC/openSUSE:Factory/.iodbc.new.11940 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iodbc" Mon Apr 20 16:13:09 2026 rev:27 rq:1347695 version:3.52.16 Changes: -------- --- /work/SRC/openSUSE:Factory/iodbc/iodbc.changes 2023-09-15 22:11:02.785087107 +0200 +++ /work/SRC/openSUSE:Factory/.iodbc.new.11940/iodbc.changes 2026-04-20 16:13:18.238133770 +0200 @@ -1,0 +2,8 @@ +Fri Apr 17 10:59:55 UTC 2026 - Michael Vetter <[email protected]> + +- Fix build with gcc15: + * Compile with `-std=gnu89 -fpermissive -Wno-error=strict-prototypes + -Wno-error=implicit-function-declaration` + * Add iodbc-gcc15-fixes.patch + +------------------------------------------------------------------- New: ---- iodbc-gcc15-fixes.patch ----------(New B)---------- New: -Wno-error=implicit-function-declaration` * Add iodbc-gcc15-fixes.patch ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iodbc.spec ++++++ --- /var/tmp/diff_new_pack.0tcLnI/_old 2026-04-20 16:13:18.794156988 +0200 +++ /var/tmp/diff_new_pack.0tcLnI/_new 2026-04-20 16:13:18.798157156 +0200 @@ -1,7 +1,7 @@ # # spec file for package iodbc # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,7 @@ Group: Development/Libraries/C and C++ URL: http://www.iodbc.org/ Source: https://download.sourceforge.net/iodbc/libiodbc-%{version}.tar.gz +Patch0: iodbc-gcc15-fixes.patch BuildRequires: pkgconfig(gtk+-2.0) %description @@ -87,6 +88,8 @@ %autosetup -n libiodbc-%{version} -p1 %build +# fix compilation with gcc15 +export CFLAGS="%{optflags} -std=gnu89 -fpermissive -Wno-error=strict-prototypes -Wno-error=implicit-function-declaration" %configure \ --disable-static \ --disable-libodbc \ ++++++ iodbc-gcc15-fixes.patch ++++++ Index: libiodbc-3.52.16/iodbc/itrace.h =================================================================== --- libiodbc-3.52.16.orig/iodbc/itrace.h +++ libiodbc-3.52.16/iodbc/itrace.h @@ -110,7 +110,7 @@ extern int ODBCSharedTraceFlag; \ if (!t_penv->thread_safe) MUTEX_LOCK (t_penv->drv_lock); \ \ - ret = proc plist; \ + ret = ((RETCODE (*)())proc) plist; \ if (errHandle) ((GENV_t *)(errHandle))->rc = ret; \ \ if (!t_penv->thread_safe) MUTEX_UNLOCK (t_penv->drv_lock); \
