void-packages/srcpkgs/electron19/files/patches/chromium-musl-stat.patch
Đoàn Trần Công Danh 116661dd4b Revert "electron19: drop package"
Rocket.Chat-Desktop still uses electron19.
electron19 still in the repo.

This reverts commit c4d86008da.
2024-03-31 16:18:02 +07:00

12 lines
459 B
Diff

--- a/base/files/file.h.orig
+++ b/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;