summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-radio/ax25-apps/files/ax25-apps-0.0.8-musl.patch')
-rw-r--r--media-radio/ax25-apps/files/ax25-apps-0.0.8-musl.patch52
1 files changed, 52 insertions, 0 deletions
diff --git a/media-radio/ax25-apps/files/ax25-apps-0.0.8-musl.patch b/media-radio/ax25-apps/files/ax25-apps-0.0.8-musl.patch
new file mode 100644
index 000000000000..3a83a73423e2
--- /dev/null
+++ b/media-radio/ax25-apps/files/ax25-apps-0.0.8-musl.patch
@@ -0,0 +1,52 @@
+*** a/ax25ipd/io.c 2019-03-20 17:48:59.000000000 +0100
+--- b/ax25ipd/io.c 2021-09-02 00:32:05.815175217 +0200
+***************
+*** 21,23 ****
+ #include <syslog.h>
+! #include <termio.h>
+ #include <time.h>
+--- 21,24 ----
+ #include <syslog.h>
+! #include <termios.h>
+! #include <sys/ioctl.h>
+ #include <time.h>
+***************
+*** 34,36 ****
+
+! static struct termio nterm;
+
+--- 35,37 ----
+
+! static struct termios nterm;
+
+*** a/call/call.h 2019-03-20 17:48:59.000000000 +0100
+--- b/call/call.h 2021-09-02 00:36:47.367157222 +0200
+***************
+*** 6,7 ****
+--- 6,13 ----
+ #endif
++
++ #ifndef __CALL_H
++ #define __CALL_H
++
++ #include <time.h>
++
+ extern int fd;
+*************** extern int yapp2unix(char *);
+*** 21 ****
+--- 27,29 ----
+ extern void unix2yapp(time_t unix_date, char *buffer);
++
++ #endif
+diff --git a/ax25rtd/ax25rtd.c b/ax25rtd/ax25rtd.c
+index d4c8b58..ea1ef86 100644
+--- a/ax25rtd/ax25rtd.c
++++ b/ax25rtd/ax25rtd.c
+@@ -33,6 +33,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <string.h>
+ #include <unistd.h>
+ #include <signal.h>
+ #include <errno.h>