blueman: fix musl build
This commit is contained in:
parent
182984d10a
commit
82b60af3bf
2 changed files with 24 additions and 1 deletions
23
srcpkgs/blueman/patches/musl.patch
Normal file
23
srcpkgs/blueman/patches/musl.patch
Normal 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) {
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue