15 Commits

Author SHA1 Message Date
Wang Mingyu 967e5c9e0f psqlodbc: upgrade 17.00.0006 -> 17.00.0007
add-expected-output-file-for-descrec-test.patch
removed since it's included in 17.00.0007

psqlodbc-fix-for-ptest-support.patch
refreshed for 17.00.0007

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-02 09:22:49 -08:00
Ross Burton 93d77fe170 psqlodbc: set SRCREV
This recipe was moved from tarballs to git in the 17.00.0006 upgrade,
but the recipe failed to set SRCREV. This meant bitbake had to look up
the tag name on every parse.

Set SRCREV, and remove the now-obsolete SRC_URI[sha256sum].

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-31 08:55:36 -07:00
Gyorgy Sarvari 65f0429033 psqlodbc: fix a failing ptest
The descrec test fails currently, due to the different characterwidth
postgres uses depending on the current locale.

If the locale is C or posix, then each character is 1 byte. Otherwise,
if it's some UTF8 locale, then it is 4 bytes.

The test case expects 4 byte width by default, making it fail. This backported patch
allows for both 4 and 1 byte characters to be tested successfully.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 18:45:43 -07:00
Gyorgy Sarvari 90f237bb7e psqlodbc: upgrade 16.00.0000 -> 17.00.0006
Drop patch that was merged into this release.

Changelog: https://odbc.postgresql.org/docs/release.html

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-24 18:45:43 -07:00
Martin Jansa a0ea7128d2 psqlodbc: fix build with gcc-15
configure: make sure to call AC_CHECK_HEADER_STDBOOL before using ac_cv_sizeof_bool

It was called after this conditional, so PG_USE_STDBOOL wasn't set
even when it should be as shown in at the end of config.log:

  ac_cv_header_stdbool_h=yes
  ac_cv_sizeof_bool=1
  ac_cv_type__Bool=yes
  #define SIZEOF_BOOL 1
  #define HAVE__BOOL 1
  #define HAVE_STDBOOL_H 1

* fixes:
  https://github.com/postgresql-interfaces/psqlodbc/issues/110
  https://github.com/postgresql-interfaces/psqlodbc/issues/94

http://errors.yoctoproject.org/Errors/Details/852841/

In file included from ../psqlodbc-16.00.0000/environ.h:16,
                 from ../psqlodbc-16.00.0000/environ.c:16:
../psqlodbc-16.00.0000/psqlodbc.h:264:23: error: 'bool' cannot be defined via 'typedef'
  264 | typedef unsigned char bool;
      |                       ^~~~

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-23 19:35:01 -07:00
Khem Raj 400bafb88f psqlodbc: Update SRC_URI to point to latest location of 16.00.0000 tarballs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-10-14 23:19:36 -07:00
Khem Raj 1a03565ce3 psqlodbc: Fix ptests
There are two still left
Failed ptests:
{'psqlodbc': ['30_-_lfconversion', '43_-_result-conversions']}

These need using unicode postgresql driver perhaps

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-12 23:07:33 -07:00
Wang Mingyu 1792da6586 psqlodbc: upgrade 15.00.0000 -> 16.00.0000
Changelog:
==========
 Use autoconf to check for stdbool.h.
 Make it possible to use standard bool on Windows.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-09-20 15:34:03 -07:00
Wang Mingyu 27dafe288a psqlodbc: upgrade 13.02.0000 -> 15.00.0000
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-27 13:44:47 -07:00
Martin Jansa e99f187966 .patch: fix Upstream-Status formatting issues reported by patchreview tool from oe-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-27 17:06:52 -08:00
Trevor Woerner 5a28583594 psqlodbc: fix HOMEPAGE
The HOMEPAGE URL is no longer valid, update it to point to the correct
location.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-23 07:31:54 -08:00
Khem Raj 1a8d4b2423 psqlodbc: Upgrade to 13.02.0000
Forward port patches
Merged .inc into .bb for easing out devtool use

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-31 10:06:32 -07:00
Khem Raj 14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Armin Kuster e97ecebf3a psqlodbc: move to recipes-dbs
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-03-01 16:10:35 -08:00