diff options
| author | mark.yang <mark.yang@lge.com> | 2025-04-01 19:52:58 +0900 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-04-01 09:21:23 -0700 |
| commit | 31595e28fa25b51ffd50e6643542f219f943bb28 (patch) | |
| tree | bd92e2ba657a3ebac19d72e70b331011390a2701 /meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb | |
| parent | e2c8a25c1b45823bb200d7c6e92fc83e80958547 (diff) | |
| download | meta-openembedded-31595e28fa25b51ffd50e6643542f219f943bb28.tar.gz | |
sqlite-orm: fix build with gcc-15.0.1
* see more details:
http://errors.yoctoproject.org/Errors/Details/850148/
TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:7:5: error: 'uint16_t' does not name a type
7 | uint16_t src_port;
| ^~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/sqlite-orm/1.5/git/examples/synchronous.cpp:3:1: note: 'uint16_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
2 | #include <sqlite_orm/sqlite_orm.h>
+++ |+#include <cstdint>
3 | #include <string>
While this was backported from 6a96d1cec4(Explicitly included <cstdint> in examples and unit tests),
since it was a commit made in v1.9, only synchronous.cpp was modified as other files do not exist in the current version.
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb')
| -rw-r--r-- | meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb index db90bc589e..17c24d5abf 100644 --- a/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb +++ b/meta-oe/recipes-devtools/sqlite-orm/sqlite-orm_1.5.bb | |||
| @@ -8,7 +8,10 @@ inherit cmake | |||
| 8 | DEPENDS += "sqlite3" | 8 | DEPENDS += "sqlite3" |
| 9 | 9 | ||
| 10 | SRCREV = "e8a9e9416f421303f4b8970caab26dadf8bae98b" | 10 | SRCREV = "e8a9e9416f421303f4b8970caab26dadf8bae98b" |
| 11 | SRC_URI = "git://github.com/fnc12/sqlite_orm;protocol=https;branch=master" | 11 | SRC_URI = " \ |
| 12 | git://github.com/fnc12/sqlite_orm;protocol=https;branch=master \ | ||
| 13 | file://0001-fix-cstdint-error-with-gcc-15.0.1.patch \ | ||
| 14 | " | ||
| 12 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 13 | 16 | ||
| 14 | EXTRA_OECMAKE += "-DSqliteOrm_BuildTests=OFF -DLIB_INSTALL_DIR=${libdir} \ | 17 | EXTRA_OECMAKE += "-DSqliteOrm_BuildTests=OFF -DLIB_INSTALL_DIR=${libdir} \ |
