Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sagemathinc
GitHub Repository: sagemathinc/python-wasm
Path: blob/main/core/tar/src/patches/01-main-visibility.patch
1396 views
1
--- native/tar/bsdtar.c 2022-04-08 04:40:26.000000000 -0700
2
+++ wasm/tar/bsdtar.c 2022-10-22 13:27:09.000000000 -0700
3
@@ -147,6 +147,7 @@
4
NULL
5
};
6
7
+__attribute__((visibility("default")))
8
int
9
main(int argc, char **argv)
10
{
11
--- native/cat/bsdcat.c 2022-04-08 04:40:26.000000000 -0700
12
+++ wasm/cat/bsdcat.c 2022-10-22 14:15:18.000000000 -0700
13
@@ -112,6 +112,7 @@
14
a = NULL;
15
}
16
17
+__attribute__((visibility("default")))
18
int
19
main(int argc, char **argv)
20
{
21
--- native/cpio/cpio.c 2022-04-08 04:40:26.000000000 -0700
22
+++ wasm/cpio/cpio.c 2022-10-22 14:15:35.000000000 -0700
23
@@ -127,6 +127,7 @@
24
static const char * passphrase_callback(struct archive *, void *);
25
static void passphrase_free(char *);
26
27
+__attribute__((visibility("default")))
28
int
29
main(int argc, char *argv[])
30
{
31
32