From 3c698a22985122d2cdbba0d68b0c6c251bd05a57 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 1 Nov 2015 19:23:21 +0100 Subject: pulseaudio: update to latest, fix musl build with patchset from VoidLinux --- package/pulseaudio/patches/patch-configure_ac | 13 +++++++++++-- .../pulseaudio/patches/patch-src_pulsecore_core-util_c | 13 +++++++++++++ .../patches/patch-src_pulsecore_sample-util_h | 17 +++++++++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 package/pulseaudio/patches/patch-src_pulsecore_core-util_c create mode 100644 package/pulseaudio/patches/patch-src_pulsecore_sample-util_h (limited to 'package/pulseaudio/patches') diff --git a/package/pulseaudio/patches/patch-configure_ac b/package/pulseaudio/patches/patch-configure_ac index 2bae7b834..5c26f33f7 100644 --- a/package/pulseaudio/patches/patch-configure_ac +++ b/package/pulseaudio/patches/patch-configure_ac @@ -1,5 +1,5 @@ ---- pulseaudio-6.0.orig/configure.ac 2015-02-12 15:10:35.000000000 +0100 -+++ pulseaudio-6.0/configure.ac 2015-06-04 12:20:45.000000000 +0200 +--- pulseaudio-7.1.orig/configure.ac 2015-10-30 13:22:13.000000000 +0100 ++++ pulseaudio-7.1/configure.ac 2015-11-01 18:51:35.000000000 +0100 @@ -99,25 +99,8 @@ PKG_PROG_PKG_CONFIG # gettext @@ -26,3 +26,12 @@ #### Determine host OS #### +@@ -407,7 +390,7 @@ AC_HEADER_STDC + # POSIX + AC_CHECK_HEADERS_ONCE([arpa/inet.h glob.h grp.h netdb.h netinet/in.h \ + netinet/in_systm.h netinet/tcp.h poll.h pwd.h sched.h \ +- sys/mman.h sys/select.h sys/socket.h sys/wait.h \ ++ sys/mman.h sys/select.h sys/socket.h sys/wait.h sys/user.h xlocale.h \ + sys/uio.h syslog.h sys/dl.h dlfcn.h linux/sockios.h]) + AC_CHECK_HEADERS([netinet/ip.h], [], [], + [#include diff --git a/package/pulseaudio/patches/patch-src_pulsecore_core-util_c b/package/pulseaudio/patches/patch-src_pulsecore_core-util_c new file mode 100644 index 000000000..a270fca9f --- /dev/null +++ b/package/pulseaudio/patches/patch-src_pulsecore_core-util_c @@ -0,0 +1,13 @@ +--- pulseaudio-7.1.orig/src/pulsecore/core-util.c 2015-10-30 13:14:56.000000000 +0100 ++++ pulseaudio-7.1/src/pulsecore/core-util.c 2015-11-01 18:52:47.000000000 +0100 +@@ -54,7 +54,9 @@ + + #ifdef HAVE_STRTOD_L + #include +-#include ++# ifdef HAVE_XLOCALE_H ++# include ++# endif + #endif + + #ifdef HAVE_SCHED_H diff --git a/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h b/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h new file mode 100644 index 000000000..15b0996b8 --- /dev/null +++ b/package/pulseaudio/patches/patch-src_pulsecore_sample-util_h @@ -0,0 +1,17 @@ +--- pulseaudio-7.1.orig/src/pulsecore/sample-util.h 2015-09-10 06:51:41.000000000 +0200 ++++ pulseaudio-7.1/src/pulsecore/sample-util.h 2015-11-01 18:52:13.000000000 +0100 +@@ -24,6 +24,14 @@ + #include + #include + ++#ifdef HAVE_CONFIG_H ++#include ++#endif ++ ++#ifdef HAVE_SYS_USER_H ++#include /* required by _WORDIZE with musl */ ++#endif ++ + #include + #include + #include -- cgit v1.2.3