summaryrefslogtreecommitdiffstats
path: root/main/atop/musl-fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-19 20:43:46 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-19 20:43:46 +0000
commitbf2bdceeee9c93332e61a5fad1b6e49177254e16 (patch)
treead16ab016964b74337e7b4140e029d19586daea0 /main/atop/musl-fix-includes.patch
parent72e8d7b8e7a00f07d0d731afbcf3939058889bf3 (diff)
downloadaports-bf2bdceeee9c93332e61a5fad1b6e49177254e16.tar.bz2
aports-bf2bdceeee9c93332e61a5fad1b6e49177254e16.tar.xz
main/atop: fix musl build
Diffstat (limited to 'main/atop/musl-fix-includes.patch')
-rw-r--r--main/atop/musl-fix-includes.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/main/atop/musl-fix-includes.patch b/main/atop/musl-fix-includes.patch
new file mode 100644
index 000000000..44f42015a
--- /dev/null
+++ b/main/atop/musl-fix-includes.patch
@@ -0,0 +1,65 @@
+--- atop-2.0.2.orig/deviate.c
++++ atop-2.0.2/deviate.c
+@@ -178,6 +178,7 @@
+ #include <stdio.h>
+ #include <errno.h>
+ #include <fcntl.h>
++#include <stdlib.h>
+ #include <unistd.h>
+ #include <limits.h>
+ #include <memory.h>
+--- atop-2.0.2.orig/procdbase.c
++++ atop-2.0.2/procdbase.c
+@@ -67,7 +67,7 @@
+ #include <fcntl.h>
+ #include <unistd.h>
+ #include <string.h>
+-#include <malloc.h>
++#include <stdlib.h>
+
+ #include "atop.h"
+ #include "photoproc.h"
+--- atop-2.0.2.orig/showgeneric.c
++++ atop-2.0.2/showgeneric.c
+@@ -268,7 +268,7 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ #include <string.h>
+-#include <termio.h>
++#include <termios.h>
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <curses.h>
+--- atop-2.0.2.orig/showlinux.c
++++ atop-2.0.2/showlinux.c
+@@ -274,7 +274,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <fcntl.h>
+-#include <termio.h>
++#include <termios.h>
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <curses.h>
+--- atop-2.0.2.orig/showprocs.c
++++ atop-2.0.2/showprocs.c
+@@ -94,7 +94,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <fcntl.h>
+-#include <termio.h>
++#include <termios.h>
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <curses.h>
+--- atop-2.0.2.orig/showsys.c
++++ atop-2.0.2/showsys.c
+@@ -80,7 +80,7 @@
+ #include <string.h>
+ #include <errno.h>
+ #include <fcntl.h>
+-#include <termio.h>
++#include <termios.h>
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <curses.h>