diff options
-rw-r--r-- | meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch | 30 | ||||
-rw-r--r-- | meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb | 4 |
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch new file mode 100644 index 0000000000..5160f2e1fe --- /dev/null +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets/0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From e108aff9d6dae613f486c1b1681f4a3cdf17b845 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 19 Dec 2022 15:07:55 -0800 | ||
4 | Subject: [PATCH] Set HAVE_LARGEFILE_SUPPORT to 1 explicitly | ||
5 | |||
6 | nothing sets this to 0, but for some reason it gets undef'd | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | build/cmake/setup.h.in | 3 +-- | ||
12 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in | ||
15 | index bce33a73f3..22afb4cfa0 100644 | ||
16 | --- a/build/cmake/setup.h.in | ||
17 | +++ b/build/cmake/setup.h.in | ||
18 | @@ -869,8 +869,7 @@ | ||
19 | /* | ||
20 | * Define if large (64 bit file offsets) files are supported. | ||
21 | */ | ||
22 | -#cmakedefine HAVE_LARGEFILE_SUPPORT 1 | ||
23 | - | ||
24 | +#define HAVE_LARGEFILE_SUPPORT 1 | ||
25 | /* | ||
26 | * Use OpenGL | ||
27 | */ | ||
28 | -- | ||
29 | 2.39.0 | ||
30 | |||
diff --git a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb index ae2995db20..39b6a2bc7c 100644 --- a/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb +++ b/meta-oe/recipes-extended/wxwidgets/wxwidgets_3.2.1.bb | |||
@@ -26,6 +26,7 @@ SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https | |||
26 | file://wx-config-fix-libdir-for-multilib.patch \ | 26 | file://wx-config-fix-libdir-for-multilib.patch \ |
27 | file://0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch \ | 27 | file://0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch \ |
28 | file://musl-locale-l.patch \ | 28 | file://musl-locale-l.patch \ |
29 | file://0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \ | ||
29 | " | 30 | " |
30 | SRCREV= "97e99707c5d2271a70cb686720b48dbf34ced496" | 31 | SRCREV= "97e99707c5d2271a70cb686720b48dbf34ced496" |
31 | S = "${WORKDIR}/git" | 32 | S = "${WORKDIR}/git" |
@@ -76,6 +77,9 @@ PACKAGECONFIG[sdl_audio] = "-DwxUSE_LIBSDL=ON,-DwxUSE_LIBSDL=OFF,libsdl2" | |||
76 | PACKAGECONFIG[webkit] = "-DwxUSE_WEBVIEW_WEBKIT=ON,-DwxUSE_WEBVIEW_WEBKIT=OFF,webkitgtk,,,no_gui" | 77 | PACKAGECONFIG[webkit] = "-DwxUSE_WEBVIEW_WEBKIT=ON,-DwxUSE_WEBVIEW_WEBKIT=OFF,webkitgtk,,,no_gui" |
77 | PACKAGECONFIG[curl] = "-DwxUSE_WEBREQUEST_CURL=ON,-DwxUSE_WEBREQUEST_CURL=OFF,curl" | 78 | PACKAGECONFIG[curl] = "-DwxUSE_WEBREQUEST_CURL=ON,-DwxUSE_WEBREQUEST_CURL=OFF,curl" |
78 | 79 | ||
80 | # Support LFS unconditionally | ||
81 | CXXFLAGS += "-D_FILE_OFFSET_BITS=64" | ||
82 | |||
79 | do_compile:append() { | 83 | do_compile:append() { |
80 | # if not at re-compile | 84 | # if not at re-compile |
81 | if [ -L ${B}/wx-config ]; then | 85 | if [ -L ${B}/wx-config ]; then |