diff options
| author | Guocai He <guocai.he.cn@windriver.com> | 2024-08-22 09:16:21 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-08-28 06:49:22 -0700 |
| commit | 2b5ca6638e1a490a1230bccdb34a95b43f3d253e (patch) | |
| tree | 7ce6cd7bf9bb845b6f9a6d4fc9c3e686a7eb2046 /meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb | |
| parent | 2640cecd2f4d45786bb9faed61858a5fd8cf93e8 (diff) | |
| download | poky-2b5ca6638e1a490a1230bccdb34a95b43f3d253e.tar.gz | |
libsoup: fix compile error on centos7
Backport a patch [1] to fix the below build failure.
FAILED: libsoup/libsoup-2.4.so.1.11.0.p/soup-address.c.o
In file included from /usr/include/glib-2.0/gio/gnetworking.h:40,
from ../libsoup-2.72.0/libsoup/soup-address.c:14:
/usr/include/resolv.h:75:15: error: unknown type name ‘u_char’
const u_char **__query,
^~~~~~
[1] https://gitlab.gnome.org/GNOME/libsoup/-/commit/5c3d431bdb094c59997f2a23e31e83f815ab667c
(From OE-Core rev: 963085afced737863cf4ff8515a1cf08365d5d87)
Signed-off-by: Guocai He <guocai.he.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb')
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb b/meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb index 6ff393c9a3..be286e1849 100644 --- a/meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb +++ b/meta/recipes-support/libsoup/libsoup-2.4_2.74.2.bb | |||
| @@ -11,7 +11,9 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl" | |||
| 11 | 11 | ||
| 12 | SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" | 12 | SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" |
| 13 | 13 | ||
| 14 | SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" | 14 | SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ |
| 15 | file://0001-meson.build-set-c_std-to-gnu99.patch \ | ||
| 16 | " | ||
| 15 | SRC_URI[sha256sum] = "f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159" | 17 | SRC_URI[sha256sum] = "f0a427656e5fe19e1df71c107e88dfa1b2e673c25c547b7823b6018b40d01159" |
| 16 | 18 | ||
| 17 | CVE_PRODUCT = "libsoup" | 19 | CVE_PRODUCT = "libsoup" |
