Skip to content

Commit 057bfac

Browse files
authored
new package: electron-13.6.9 (#3)
1 parent 92d800a commit 057bfac

35 files changed

+4893
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
--- a/build/config/compiler/BUILD.gn
2+
+++ b/build/config/compiler/BUILD.gn
3+
@@ -783,8 +783,8 @@
4+
}
5+
} else if (current_cpu == "arm") {
6+
if (is_clang && !is_android && !is_nacl) {
7+
- cflags += [ "--target=arm-linux-gnueabihf" ]
8+
- ldflags += [ "--target=arm-linux-gnueabihf" ]
9+
+ cflags += [ "--target=armv7a-linux-android24" ]
10+
+ ldflags += [ "--target=armv7a-linux-android24" ]
11+
}
12+
if (!is_nacl) {
13+
cflags += [
14+
@@ -797,8 +797,8 @@
15+
}
16+
} else if (current_cpu == "arm64") {
17+
if (is_clang && !is_android && !is_nacl && !is_fuchsia) {
18+
- cflags += [ "--target=aarch64-linux-gnu" ]
19+
- ldflags += [ "--target=aarch64-linux-gnu" ]
20+
+ cflags += [ "--target=aarch64-linux-android24" ]
21+
+ ldflags += [ "--target=aarch64-linux-android24" ]
22+
}
23+
} else if (current_cpu == "mipsel" && !is_nacl) {
24+
ldflags += [ "-Wl,--hash-style=sysv" ]
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
--- a/third_party/khronos/EGL/eglplatform.h
2+
+++ b/third_party/khronos/EGL/eglplatform.h
3+
@@ -88,7 +88,7 @@
4+
typedef struct gbm_bo *EGLNativePixmapType;
5+
typedef void *EGLNativeWindowType;
6+
7+
-#elif defined(__ANDROID__) || defined(ANDROID)
8+
+#elif (defined(__ANDROID__) || defined(ANDROID)) && !defined(__TERMUX__)
9+
10+
struct ANativeWindow;
11+
struct egl_native_pixmap_t;
12+
13+
--- a/third_party/angle/include/EGL/eglplatform.h
14+
+++ b/third_party/angle/include/EGL/eglplatform.h
15+
@@ -88,7 +88,7 @@
16+
typedef struct gbm_bo *EGLNativePixmapType;
17+
typedef void *EGLNativeWindowType;
18+
19+
-#elif defined(__ANDROID__) || defined(ANDROID)
20+
+#elif (defined(__ANDROID__) || defined(ANDROID)) && !defined(__TERMUX__)
21+
22+
struct ANativeWindow;
23+
struct egl_native_pixmap_t;
24+
25+
--- a/third_party/swiftshader/include/EGL/eglplatform.h
26+
+++ b/third_party/swiftshader/include/EGL/eglplatform.h
27+
@@ -88,7 +88,7 @@
28+
typedef struct gbm_bo *EGLNativePixmapType;
29+
typedef void *EGLNativeWindowType;
30+
31+
-#elif defined(__ANDROID__) || defined(ANDROID)
32+
+#elif (defined(__ANDROID__) || defined(ANDROID)) && !defined(__TERMUX__)
33+
34+
struct ANativeWindow;
35+
struct egl_native_pixmap_t;
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--- a/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
2+
+++ b/third_party/breakpad/breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc
3+
@@ -194,6 +194,7 @@
4+
//
5+
// The following code only works if notes are ordered as expected.
6+
switch (type) {
7+
+#if !defined(__ANDROID__)
8+
case NT_PRSTATUS: {
9+
if (description.length() != sizeof(elf_prstatus)) {
10+
fprintf(stderr, "Found NT_PRSTATUS descriptor of unexpected size\n");
11+
@@ -231,6 +232,7 @@
12+
thread_infos_.push_back(info);
13+
break;
14+
}
15+
+#endif
16+
case NT_SIGINFO: {
17+
if (description.length() != sizeof(siginfo_t)) {
18+
fprintf(stderr, "Found NT_SIGINFO descriptor of unexpected size\n");
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
--- a/third_party/electron_node/deps/cares/config/linux/ares_config.h
2+
+++ b/third_party/electron_node/deps/cares/config/linux/ares_config.h
3+
@@ -59,10 +59,10 @@
4+
#define HAVE_ARPA_INET_H 1
5+
6+
/* Define to 1 if you have the <arpa/nameser_compat.h> header file. */
7+
-#define HAVE_ARPA_NAMESER_COMPAT_H 1
8+
+// #define HAVE_ARPA_NAMESER_COMPAT_H 1
9+
10+
/* Define to 1 if you have the <arpa/nameser.h> header file. */
11+
-#define HAVE_ARPA_NAMESER_H 1
12+
+// #define HAVE_ARPA_NAMESER_H 1
13+
14+
/* Define to 1 if you have the <assert.h> header file. */
15+
#define HAVE_ASSERT_H 1
16+
@@ -128,7 +128,7 @@
17+
#define HAVE_GETNAMEINFO 1
18+
19+
/* Define to 1 if you have the getservbyport_r function. */
20+
-#define HAVE_GETSERVBYPORT_R 1
21+
+// #define HAVE_GETSERVBYPORT_R 1
22+
23+
/* Define to 1 if you have the `gettimeofday' function. */
24+
#define HAVE_GETTIMEOFDAY 1

0 commit comments

Comments
 (0)