SHA256
1
0
forked from pool/iodbc

- 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
This commit is contained in:
Michael Vetter 2023-09-15 10:07:10 +00:00 committed by Git OBS Bridge
parent e130b97dfe
commit 1721c08390
5 changed files with 37 additions and 62 deletions

View File

@ -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];
}
}

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
Fri Sep 15 10:03:20 UTC 2023 - Michael Vetter <mvetter@suse.com>
- 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 <jengelh@inai.de>

View File

@ -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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5b7e5998ce0b6dfa019b07e8f62e87d6abba28fef9d2aeb903037c883a2793b
size 1230369

3
libiodbc-3.52.16.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa
size 1086850