From 1721c083908a408c5281f4778a01db7751366f0adec8ba83b0ff1a4b3344355b Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 15 Sep 2023 10:07:10 +0000 Subject: [PATCH] - Update to 3.52.16 * Fixed issue with generic setup dialogs on macOS not saving values * Fixed issue when creating new DSN via generic setup dialogs on macOS BigSur * Fixed issue with new vertical layout for Alerts on macOS BigSur * Fixed support for modern limit path name size * Fixed SQLBindParameter trace when bind offset is in use (#80) * Fixed SQLGetInstalledDrivers single entry error (#79) * Fixed silent truncation of 'long' diagnostic messages in SQLGetDiagRec (#78) * Fixed missing comma (#72) * Fixed potential memory leak (#71) * Fixed truncation of SQL_C_WCHAR parameter value when BufferLength=0 and length=SQL_NTS (#68) * Fixed issue overriding SQL_DEFAULT_PARAM length indicator (#67) * Fixed issue with input parameter data when using parameter arrays (#66) * Fixed compiler warnings * Fixed version check of build tools * Updated documents - Changelog from 3.52.15: * Added support for macOS Big Sur (11.x) on Apple Silicon using a universal build * Fixed title to show CPU architecture used * Fixed length of error message buffer * Fixed small portability issues * Removed support for Mac OS X Snow Leopard (10.6) and older * Removed deprecated iODBCcfmbridge for PPC - Remove upstreamed fix-nonvoid-return.diff OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=21 --- fix-nonvoid-return.diff | 55 ----------------------------------------- iodbc.changes | 32 ++++++++++++++++++++++++ iodbc.spec | 6 ++--- libiodbc-3.52.14.tar.gz | 3 --- libiodbc-3.52.16.tar.gz | 3 +++ 5 files changed, 37 insertions(+), 62 deletions(-) delete mode 100644 fix-nonvoid-return.diff delete mode 100644 libiodbc-3.52.14.tar.gz create mode 100644 libiodbc-3.52.16.tar.gz diff --git a/fix-nonvoid-return.diff b/fix-nonvoid-return.diff deleted file mode 100644 index 783484a..0000000 --- a/fix-nonvoid-return.diff +++ /dev/null @@ -1,55 +0,0 @@ -diff -Nur libiodbc-3.52.14/iodbcinst/unicode.c new/iodbcinst/unicode.c ---- libiodbc-3.52.14/iodbcinst/unicode.c 2021-02-17 14:39:22.000000000 +0100 -+++ new/iodbcinst/unicode.c 2021-05-31 18:26:17.332781996 +0200 -@@ -688,9 +688,10 @@ - { - switch(charset) - { -- case CP_UTF8: return 1; - case CP_UTF16: return sizeof(ucs2_t); - case CP_UCS4: return sizeof(ucs4_t); -+ case CP_UTF8: -+ default: return 1; - } - } - -@@ -700,9 +701,10 @@ - { - switch(charset) - { -- case CP_UTF8: return UTF8_MAX_CHAR_LEN; - case CP_UTF16: return sizeof(ucs2_t) * 2; - case CP_UCS4: return sizeof(ucs4_t); -+ case CP_UTF8: -+ default: return UTF8_MAX_CHAR_LEN; - } - } - -@@ -2131,13 +2133,16 @@ - - switch(charset) - { -+ case CP_UTF16: return (SQLWCHAR)u2[pos]; -+ case CP_UCS4: return (SQLWCHAR)u4[pos]; - case CP_UTF8: -- { -+ default: -+ { - int mask, len, i=0; - SQLWCHAR wc = 0; - SQLCHAR *u8str = (SQLCHAR*)str; - while(i < pos) -- { -+ { - UTF8_COMPUTE(*u8str, mask, len); - if (len == -1) - break; -@@ -2155,8 +2160,6 @@ - } - return wc; - } -- case CP_UTF16: return (SQLWCHAR)u2[pos]; -- case CP_UCS4: return (SQLWCHAR)u4[pos]; - } - } - diff --git a/iodbc.changes b/iodbc.changes index e50afca..6f4f437 100644 --- a/iodbc.changes +++ b/iodbc.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Fri Sep 15 10:03:20 UTC 2023 - Michael Vetter + +- Update to 3.52.16 + * Fixed issue with generic setup dialogs on macOS not saving values + * Fixed issue when creating new DSN via generic setup dialogs + on macOS BigSur + * Fixed issue with new vertical layout for Alerts on macOS BigSur + * Fixed support for modern limit path name size + * Fixed SQLBindParameter trace when bind offset is in use (#80) + * Fixed SQLGetInstalledDrivers single entry error (#79) + * Fixed silent truncation of 'long' diagnostic messages in + SQLGetDiagRec (#78) + * Fixed missing comma (#72) + * Fixed potential memory leak (#71) + * Fixed truncation of SQL_C_WCHAR parameter value when + BufferLength=0 and length=SQL_NTS (#68) + * Fixed issue overriding SQL_DEFAULT_PARAM length indicator (#67) + * Fixed issue with input parameter data when using parameter arrays (#66) + * Fixed compiler warnings + * Fixed version check of build tools + * Updated documents +- Changelog from 3.52.15: + * Added support for macOS Big Sur (11.x) on Apple Silicon using + a universal build + * Fixed title to show CPU architecture used + * Fixed length of error message buffer + * Fixed small portability issues + * Removed support for Mac OS X Snow Leopard (10.6) and older + * Removed deprecated iODBCcfmbridge for PPC +- Remove upstreamed fix-nonvoid-return.diff + ------------------------------------------------------------------- Tue Apr 26 10:39:10 UTC 2022 - Jan Engelhardt diff --git a/iodbc.spec b/iodbc.spec index 46e0e73..30614ee 100644 --- a/iodbc.spec +++ b/iodbc.spec @@ -1,7 +1,7 @@ # # spec file for package iodbc # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,15 +17,13 @@ Name: iodbc -Version: 3.52.14 +Version: 3.52.16 Release: 0 Summary: ODBC compliant driver manager License: BSD-3-Clause OR LGPL-2.0-only Group: Development/Libraries/C and C++ URL: http://www.iodbc.org/ Source: https://download.sourceforge.net/iodbc/libiodbc-%{version}.tar.gz -# PATCH-FIX-UPSTREAM fix-nonvoid-return.diff -- https://github.com/openlink/iODBC/issues/58 -Patch0: fix-nonvoid-return.diff BuildRequires: pkgconfig(gtk+-2.0) %description diff --git a/libiodbc-3.52.14.tar.gz b/libiodbc-3.52.14.tar.gz deleted file mode 100644 index 70622e9..0000000 --- a/libiodbc-3.52.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5b7e5998ce0b6dfa019b07e8f62e87d6abba28fef9d2aeb903037c883a2793b -size 1230369 diff --git a/libiodbc-3.52.16.tar.gz b/libiodbc-3.52.16.tar.gz new file mode 100644 index 0000000..e4ca667 --- /dev/null +++ b/libiodbc-3.52.16.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa +size 1086850