void-packages/srcpkgs/qt6-webengine/patches/0121-chromium-musl-stat.patch

13 lines
539 B
Diff

--- qt6-webengine-6.4.2.orig/src/3rdparty/chromium/base/files/file.h
+++ qt6-webengine-6.4.2/src/3rdparty/chromium/base/files/file.h
@@ -19,7 +19,8 @@
#include "build/build_config.h"
#if BUILDFLAG(IS_BSD) || BUILDFLAG(IS_APPLE) || BUILDFLAG(IS_NACL) || \
- BUILDFLAG(IS_FUCHSIA) || (BUILDFLAG(IS_ANDROID) && __ANDROID_API__ < 21)
+ BUILDFLAG(IS_FUCHSIA) || (BUILDFLAG(IS_ANDROID) && __ANDROID_API__ < 21) || \
+ (BUILDFLAG(IS_LINUX) && !defined(__GLIBC__))
struct stat;
namespace base {
typedef struct stat stat_wrapper_t;