package/libmpdclient: update to 2.10
Removed patch is upstream. Signed-off-by: Peter Kümmel <syntheticpp@gmx.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
bcd353d690
commit
1a680da283
@ -1,41 +0,0 @@
|
||||
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
|
@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
LIBMPDCLIENT_VERSION_MAJOR = 2
|
||||
LIBMPDCLIENT_VERSION = $(LIBMPDCLIENT_VERSION_MAJOR).9
|
||||
LIBMPDCLIENT_VERSION = $(LIBMPDCLIENT_VERSION_MAJOR).10
|
||||
LIBMPDCLIENT_SOURCE = libmpdclient-$(LIBMPDCLIENT_VERSION).tar.xz
|
||||
LIBMPDCLIENT_SITE = http://www.musicpd.org/download/libmpdclient/$(LIBMPDCLIENT_VERSION_MAJOR)
|
||||
LIBMPDCLIENT_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
||||
|
Loading…
Reference in New Issue
Block a user