diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-05-29 09:39:26 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-05-29 09:39:42 +0300 |
commit | 98b0a17d77fd029a3295845dcc9c554a4c212c43 (patch) | |
tree | 1354e9ea83f1abacaae1d71328da1f9c826b4311 /main/dahdi-tools/fix-musl.patch | |
parent | 50f1259b62f78ad929a8b4e0189bfa59da696aab (diff) | |
download | aports-98b0a17d77fd029a3295845dcc9c554a4c212c43.tar.bz2 aports-98b0a17d77fd029a3295845dcc9c554a4c212c43.tar.xz |
main/dahdi-tools: upgrade to 2.11.1
Diffstat (limited to 'main/dahdi-tools/fix-musl.patch')
-rw-r--r-- | main/dahdi-tools/fix-musl.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/main/dahdi-tools/fix-musl.patch b/main/dahdi-tools/fix-musl.patch new file mode 100644 index 0000000000..01a0a302bf --- /dev/null +++ b/main/dahdi-tools/fix-musl.patch @@ -0,0 +1,36 @@ +diff -ru dahdi-tools-2.11.1.orig/xpp/hexfile.h dahdi-tools-2.11.1/xpp/hexfile.h +--- dahdi-tools-2.11.1.orig/xpp/hexfile.h 2016-03-02 00:04:19.000000000 +0200 ++++ dahdi-tools-2.11.1/xpp/hexfile.h 2017-05-29 09:30:50.034438806 +0300 +@@ -26,6 +26,7 @@ + #include <stdarg.h> + #include <stdio.h> + #include <stdint.h> ++#include <sys/cdefs.h> + #include <sys/param.h> + #include <syslog.h> + #define PACKED __attribute__((packed)) +diff -ru dahdi-tools-2.11.1.orig/xpp/xtalk/debug.c dahdi-tools-2.11.1/xpp/xtalk/debug.c +--- dahdi-tools-2.11.1.orig/xpp/xtalk/debug.c 2016-03-02 00:04:19.000000000 +0200 ++++ dahdi-tools-2.11.1/xpp/xtalk/debug.c 2017-05-29 09:30:02.193881232 +0300 +@@ -26,7 +26,6 @@ + #include <stdlib.h> + #include <stdarg.h> + #include <syslog.h> +-#include <execinfo.h> + #include <xtalk/debug.h> + #include <autoconfig.h> + +@@ -61,6 +60,7 @@ + /* from glibc info(1) */ + void print_backtrace(FILE *fp) + { ++#if 0 + void *array[10]; + size_t size; + char **strings; +@@ -71,4 +71,5 @@ + for (i = 0; i < size; i++) + fprintf(fp, "%s\n", strings[i]); + free(strings); ++#endif + } |