7 Commits

Author SHA1 Message Date
Martin Jansa 5955ed4da2 libiodbc: use gnu17 and ignore incompatible-pointer-types to allow building with gcc-15
A fix was sent in:
https://lists.openembedded.org/g/openembedded-devel/message/116537
but it causes issues with clang as well as older gcc as reported on
ML and also in upstream PR:
https://github.com/openlink/iODBC/pull/111

Use gnu17 until this is properly resolved to avoid:
http://errors.yoctoproject.org/Errors/Details/852861/

In file included from ../../libiodbc-3.52.16/iodbc/execute.c:94:
../../libiodbc-3.52.16/iodbc/execute.c: In function '_ReBindParam':
../../libiodbc-3.52.16/iodbc/execute.c:643:49: error: too many arguments to function 'hproc3'; expected 0, have 8
  643 |       CALL_DRIVER (pstmt->hdbc, pstmt, retcode, hproc3,
      |                                                 ^~~~~~

http://errors.yoctoproject.org/Errors/Details/853276/
../../libiodbc-3.52.16/iodbcinst/unicode.c: In function 'dm_AtoUW':
../../libiodbc-3.52.16/iodbcinst/unicode.c:1565:16: error: initialization of 'ucs4_t *' {aka 'unsigned int *'} from incompatible pointer type 'wchar_t *' {aka 'long int *'} [-Wincompatible-pointer-types]
 1565 |   ucs4_t *us = dest;
      |                ^~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-29 08:45:35 -07:00
Wang Mingyu ffe09ae8e0 libiodbc: upgrade 3.52.15 -> 3.52.16
License-Update: Copyright updated to 2023.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-08-09 14:25:14 -07:00
Alexandre Truong a1f883b041 libiodbc: include UPSTREAM_CHECK_* to fix UNKNOWN_BROKEN status
Adding UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX fix
UNKNOWN_BROKEN status from running devtool check-upgrade-status.

The next version of the package can be found from upstream
sources.

Signed-off-by: Alexandre Truong <alexandre.truong@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
2024-07-24 08:56:37 -07:00
Lei Maohui 64a5f3df01 libiodbc: Install *.h files to /usr/include/iodbc to fix conflicts error with unixodbc reference to ubuntu:
file /usr/include/odbcinst.h conflicts between attempted installs of libiodbc-dev-3.52.15-r0.aarch64 and unixodbc-dev-2.3.11-r0.aarch64
  file /usr/include/sql.h conflicts between attempted installs of libiodbc-dev-3.52.15-r0.aarch64 and unixodbc-dev-2.3.11-r0.aarch64
  file /usr/include/sqlext.h conflicts between attempted installs of libiodbc-dev-3.52.15-r0.aarch64 and unixodbc-dev-2.3.11-r0.aarch64
  file /usr/include/sqltypes.h conflicts between attempted installs of libiodbc-dev-3.52.15-r0.aarch64 and unixodbc-dev-2.3.11-r0.aarch64
  file /usr/include/sqlucode.h conflicts between attempted installs of libiodbc-dev-3.52.15-r0.aarch64 and unixodbc-dev-2.3.11-r0.aarch64

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-28 17:56:15 -08:00
Lei Maohui 43ee6170bb libiodbc: Fix install conflict when enable multilib.
Error: Transaction test error:
  file /usr/bin/iodbc-config conflicts between attempted installs of libiodbc-3.52.15-r0.aarch64 and lib32-libiodbc-3.52.15-r0.armv7ahf_neon

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Khem Raj e552836284 libiodbc: Fix SRC_URI to not use gitlab archives
Fixes
ERROR: libiodbc: SRC_URI uses unstable GitHub/GitLab archives, convert recipe to use git protocol [src-uri-bad]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 10:24:21 -08:00
Lei Maohui dc2dd0a80e biodbc: Added a new recipe.
biodbc will provide you with everything you need to \
develop ODBC-compliant applications under Unix without having to pay \
royalties to other parties.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-09 08:56:42 -08:00