diff options
| author | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:07 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2015-02-03 14:52:56 +0100 |
| commit | 298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch) | |
| tree | 249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/libmpdclient/0001-musl-fixes.patch | |
| parent | dd798a45c571063595c45278e28ed4f614f2cf32 (diff) | |
| download | buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip | |
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345)
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libmpdclient/0001-musl-fixes.patch')
| -rw-r--r-- | package/libmpdclient/0001-musl-fixes.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/package/libmpdclient/0001-musl-fixes.patch b/package/libmpdclient/0001-musl-fixes.patch new file mode 100644 index 0000000000..60df540b80 --- /dev/null +++ b/package/libmpdclient/0001-musl-fixes.patch @@ -0,0 +1,41 @@ +From cc2ffe943dd36a4c95ec34b2f2bf413de15b7974 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr> +Date: Fri, 11 Jul 2014 08:56:49 +0200 +Subject: POSIX says fd_set is defined by <sys/select.h> + +Haiku requires this. + +cf. +http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/select.h.html + +Also guard sys/select.h by ifndef WIN32 as Mingw32 doesn't provide it. +We'll avoid a configure check just for this. + +diff --git a/src/socket.c b/src/socket.c +index f76510c..2aa5f7f 100644 +--- a/src/socket.c ++++ b/src/socket.c +@@ -43,6 +43,7 @@ + #else + # include <netinet/in.h> + # include <arpa/inet.h> ++# include <sys/select.h> + # include <sys/socket.h> + # include <netdb.h> + # include <sys/un.h> +diff --git a/src/sync.c b/src/sync.c +index 43cfe50..0a6c9d3 100644 +--- a/src/sync.c ++++ b/src/sync.c +@@ -33,6 +33,9 @@ + #include <assert.h> + #include <stdlib.h> + #include <stdio.h> ++#ifndef WIN32 ++#include <sys/select.h> ++#endif + #include <fcntl.h> + #include <unistd.h> + +-- +cgit v0.10-2-gd358 |

