blueman: fix musl build

This commit is contained in:
Michael Gehring 2016-03-27 09:22:54 +02:00
parent 182984d10a
commit 82b60af3bf
2 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,23 @@
--- module/libblueman.c.orig 2016-03-27 09:13:07.203123088 +0200
+++ module/libblueman.c 2016-03-27 09:13:19.497969382 +0200
@@ -28,6 +28,7 @@
#include <string.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <unistd.h>
#include <linux/sockios.h>
#include <linux/if.h>
--- module/modem-prober.c.orig 2016-03-27 09:19:20.635454542 +0200
+++ module/modem-prober.c 2016-03-27 09:19:28.550355592 +0200
@@ -38,6 +38,10 @@
#define PyString_FromString PyUnicode_FromString
#endif
+#ifndef XCASE
+# define XCASE 4
+#endif
+
static gboolean verbose = FALSE;
void set_probe_debug(gboolean debug) {

View file

@ -1,7 +1,7 @@
# Template file for 'blueman'
pkgname=blueman
version=2.0.4
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="intltool pkg-config python-Cython"