mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
wxwidgets: Set HAVE_LARGEFILE_SUPPORT
cmake somehow fails to set it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
|||||||
|
From e108aff9d6dae613f486c1b1681f4a3cdf17b845 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Mon, 19 Dec 2022 15:07:55 -0800
|
||||||
|
Subject: [PATCH] Set HAVE_LARGEFILE_SUPPORT to 1 explicitly
|
||||||
|
|
||||||
|
nothing sets this to 0, but for some reason it gets undef'd
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
build/cmake/setup.h.in | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/build/cmake/setup.h.in b/build/cmake/setup.h.in
|
||||||
|
index bce33a73f3..22afb4cfa0 100644
|
||||||
|
--- a/build/cmake/setup.h.in
|
||||||
|
+++ b/build/cmake/setup.h.in
|
||||||
|
@@ -869,8 +869,7 @@
|
||||||
|
/*
|
||||||
|
* Define if large (64 bit file offsets) files are supported.
|
||||||
|
*/
|
||||||
|
-#cmakedefine HAVE_LARGEFILE_SUPPORT 1
|
||||||
|
-
|
||||||
|
+#define HAVE_LARGEFILE_SUPPORT 1
|
||||||
|
/*
|
||||||
|
* Use OpenGL
|
||||||
|
*/
|
||||||
|
--
|
||||||
|
2.39.0
|
||||||
|
|
||||||
@@ -26,6 +26,7 @@ SRC_URI = "gitsm://github.com/wxWidgets/wxWidgets.git;branch=3.2;protocol=https
|
|||||||
file://wx-config-fix-libdir-for-multilib.patch \
|
file://wx-config-fix-libdir-for-multilib.patch \
|
||||||
file://0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch \
|
file://0001-locale-Avoid-using-glibc-specific-defines-on-musl.patch \
|
||||||
file://musl-locale-l.patch \
|
file://musl-locale-l.patch \
|
||||||
|
file://0001-Set-HAVE_LARGEFILE_SUPPORT-to-1-explicitly.patch \
|
||||||
"
|
"
|
||||||
SRCREV= "97e99707c5d2271a70cb686720b48dbf34ced496"
|
SRCREV= "97e99707c5d2271a70cb686720b48dbf34ced496"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
@@ -76,6 +77,9 @@ PACKAGECONFIG[sdl_audio] = "-DwxUSE_LIBSDL=ON,-DwxUSE_LIBSDL=OFF,libsdl2"
|
|||||||
PACKAGECONFIG[webkit] = "-DwxUSE_WEBVIEW_WEBKIT=ON,-DwxUSE_WEBVIEW_WEBKIT=OFF,webkitgtk,,,no_gui"
|
PACKAGECONFIG[webkit] = "-DwxUSE_WEBVIEW_WEBKIT=ON,-DwxUSE_WEBVIEW_WEBKIT=OFF,webkitgtk,,,no_gui"
|
||||||
PACKAGECONFIG[curl] = "-DwxUSE_WEBREQUEST_CURL=ON,-DwxUSE_WEBREQUEST_CURL=OFF,curl"
|
PACKAGECONFIG[curl] = "-DwxUSE_WEBREQUEST_CURL=ON,-DwxUSE_WEBREQUEST_CURL=OFF,curl"
|
||||||
|
|
||||||
|
# Support LFS unconditionally
|
||||||
|
CXXFLAGS += "-D_FILE_OFFSET_BITS=64"
|
||||||
|
|
||||||
do_compile:append() {
|
do_compile:append() {
|
||||||
# if not at re-compile
|
# if not at re-compile
|
||||||
if [ -L ${B}/wx-config ]; then
|
if [ -L ${B}/wx-config ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user