aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230505-musl-lfs64.patch')
-rw-r--r--dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230505-musl-lfs64.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230505-musl-lfs64.patch b/dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230505-musl-lfs64.patch
new file mode 100644
index 00000000..ba796896
--- /dev/null
+++ b/dev-qt/qtwebengine/files/qtwebengine-5.15.10_p20230505-musl-lfs64.patch
@@ -0,0 +1,37 @@
+--- a/src/3rdparty/gn/base/files/file.h
++++ b/src/3rdparty/gn/base/files/file.h
+@@ -26,7 +26,7 @@ namespace base {
+ defined(OS_ANDROID) && __ANDROID_API__ < 21
+ typedef struct stat stat_wrapper_t;
+ #elif defined(OS_POSIX) || defined(OS_FUCHSIA)
+-typedef struct stat64 stat_wrapper_t;
++typedef struct stat stat_wrapper_t;
+ #endif
+
+ // Thin wrapper around an OS-level file.
+--- a/src/3rdparty/gn/base/files/file_posix.cc
++++ b/src/3rdparty/gn/base/files/file_posix.cc
+@@ -32,7 +32,7 @@ int CallFstat(int fd, stat_wrapper_t* sb
+ }
+ #else
+ int CallFstat(int fd, stat_wrapper_t* sb) {
+- return fstat64(fd, sb);
++ return fstat(fd, sb);
+ }
+ #endif
+
+--- a/src/3rdparty/gn/base/files/file_util_posix.cc
++++ b/src/3rdparty/gn/base/files/file_util_posix.cc
+@@ -70,10 +70,10 @@ int CallLstat(const char* path, stat_wra
+ }
+ #else
+ int CallStat(const char* path, stat_wrapper_t* sb) {
+- return stat64(path, sb);
++ return stat(path, sb);
+ }
+ int CallLstat(const char* path, stat_wrapper_t* sb) {
+- return lstat64(path, sb);
++ return lstat(path, sb);
+ }
+ #endif
+