mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-28 00:42:25 +01:00
Nothing in community depends on it anymore and we're actively trying to get rid of it, so demote it to testing where a few packages (5 at the time of writing) are still using it.
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
--- a/src/3rdparty/gn/base/files/file_util_posix.cc
|
|
+++ b/src/3rdparty/gn/base/files/file_util_posix.cc
|
|
@@ -55,7 +55,7 @@
|
|
|
|
namespace {
|
|
|
|
-#if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
|
|
+#if 1 || defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
|
|
defined(OS_ANDROID) && __ANDROID_API__ < 21
|
|
int CallStat(const char* path, stat_wrapper_t* sb) {
|
|
return stat(path, sb);
|
|
--- a/src/3rdparty/gn/base/files/file.h
|
|
+++ b/src/3rdparty/gn/base/files/file.h
|
|
@@ -22,7 +22,7 @@
|
|
|
|
namespace base {
|
|
|
|
-#if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
|
|
+#if 1 || defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
|
|
defined(OS_ANDROID) && __ANDROID_API__ < 21
|
|
typedef struct stat stat_wrapper_t;
|
|
#elif defined(OS_POSIX) || defined(OS_FUCHSIA)
|
|
--- a/src/3rdparty/gn/base/files/file_posix.cc
|
|
+++ b/src/3rdparty/gn/base/files/file_posix.cc
|
|
@@ -24,7 +24,7 @@
|
|
|
|
namespace {
|
|
|
|
-#if defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
|
|
+#if 1 || defined(OS_BSD) || defined(OS_MACOSX) || defined(OS_NACL) || \
|
|
defined(OS_ANDROID) && __ANDROID_API__ < 21
|
|
int CallFstat(int fd, stat_wrapper_t* sb) {
|
|
return fstat(fd, sb);
|