summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/cifs-utils/patches/patch-mtab_c10
-rw-r--r--package/libmpdclient/patches/patch-src_socket_c10
-rw-r--r--package/libmpdclient/patches/patch-src_sync_c11
-rw-r--r--package/librt/Makefile2
4 files changed, 33 insertions, 0 deletions
diff --git a/package/cifs-utils/patches/patch-mtab_c b/package/cifs-utils/patches/patch-mtab_c
new file mode 100644
index 000000000..dbbd27317
--- /dev/null
+++ b/package/cifs-utils/patches/patch-mtab_c
@@ -0,0 +1,10 @@
+--- cifs-utils-6.0.orig/mtab.c 2013-03-25 15:52:05.000000000 +0100
++++ cifs-utils-6.0/mtab.c 2013-09-18 10:52:53.000000000 +0200
+@@ -36,6 +36,7 @@
+ #include <time.h>
+ #include <fcntl.h>
+ #include <mntent.h>
++#include <paths.h>
+ #include <stdlib.h>
+ #include <signal.h>
+ #include "mount.h"
diff --git a/package/libmpdclient/patches/patch-src_socket_c b/package/libmpdclient/patches/patch-src_socket_c
new file mode 100644
index 000000000..5417eccd7
--- /dev/null
+++ b/package/libmpdclient/patches/patch-src_socket_c
@@ -0,0 +1,10 @@
+--- libmpdclient-2.8.orig/src/socket.c 2010-01-01 15:17:56.000000000 +0100
++++ libmpdclient-2.8/src/socket.c 2013-09-18 11:03:04.000000000 +0200
+@@ -35,6 +35,7 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <sys/select.h>
+ #include <unistd.h>
+
+ #ifdef WIN32
diff --git a/package/libmpdclient/patches/patch-src_sync_c b/package/libmpdclient/patches/patch-src_sync_c
new file mode 100644
index 000000000..b9c5ec10d
--- /dev/null
+++ b/package/libmpdclient/patches/patch-src_sync_c
@@ -0,0 +1,11 @@
+--- libmpdclient-2.8.orig/src/sync.c 2010-01-01 15:17:56.000000000 +0100
++++ libmpdclient-2.8/src/sync.c 2013-09-18 11:04:49.000000000 +0200
+@@ -34,6 +34,8 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <time.h>
++#include <sys/select.h>
+ #include <unistd.h>
+
+ static bool
diff --git a/package/librt/Makefile b/package/librt/Makefile
index 9695257f8..17327a642 100644
--- a/package/librt/Makefile
+++ b/package/librt/Makefile
@@ -41,7 +41,9 @@ INSTALL_STYLE:= manual
librt-install:
ifeq ($(ADK_NATIVE),)
${INSTALL_DIR} ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH)
+ifeq ($(ADK_TARGET_LIB_MUSL),)
${CP} ${STAGING_TARGET_DIR}/lib/librt*.so* ${IDIR_LIBRT}/$(ADK_TARGET_LIBC_PATH)
endif
+endif
include ${TOPDIR}/mk/pkg-bottom.mk