summaryrefslogtreecommitdiffstats
path: root/testing/telegram-cli/musl-no-execinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/telegram-cli/musl-no-execinfo.patch')
-rw-r--r--testing/telegram-cli/musl-no-execinfo.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/telegram-cli/musl-no-execinfo.patch b/testing/telegram-cli/musl-no-execinfo.patch
new file mode 100644
index 000000000..bf63892a2
--- /dev/null
+++ b/testing/telegram-cli/musl-no-execinfo.patch
@@ -0,0 +1,31 @@
+--- a/generate.c.orig
++++ b/generate.c
+@@ -25,7 +25,6 @@
+
+ #include <stdio.h>
+ #include <signal.h>
+-#include <execinfo.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <sys/types.h>
+--- a/tlc.c.orig
++++ b/tlc.c
+@@ -35,7 +35,6 @@
+
+ #include <signal.h>
+ #include "config.h"
+-#include <execinfo.h>
+ #include <stdarg.h>
+
+ int verbosity;
+--- a/net.c.orig
++++ b/net.c
+@@ -29,7 +29,7 @@
+ #include <netdb.h>
+ #include <netinet/in.h>
+ #include <netinet/tcp.h>
+-#include <sys/fcntl.h>
++#include <fcntl.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <errno.h>