meta-openembedded/meta-oe/recipes-dbs
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
..
influxdb influxdb: Update CVE status for CVE-2019-10329 2024-06-28 11:22:03 -07:00
leveldb leveldb: Print uint64_t with PRI64 2023-10-21 10:02:21 -07:00
libdbi Drop unnecessary SRC_URI md5sum from the recipes in meta-oe. 2024-11-05 19:19:22 -08:00
lmdb lmdb: upgrade 0.9.29 -> 0.9.31 2023-07-20 19:08:57 -07:00
mysql mariadb: Fix build on riscv32 2025-04-07 17:50:06 -07:00
postgresql postgresql: fix autoreconf 2025-02-27 20:28:17 +00:00
psqlodbc psqlodbc: fix build with gcc-15 2025-04-23 19:35:01 -07:00
rocksdb rocksdb: fix build with gcc-13 2025-04-07 07:39:10 -07:00
soci soci: update build options 2024-04-23 15:18:30 -07:00