+++ /dev/null
-From: Anas Nashif <anas.nashif@intel.com>
-Date: Sat, 10 Nov 2012 11:20:46 -0800
-Subject: disabled start
-
----
- src/daemon/start-pulseaudio-kde.in | 6 ++++++
- src/daemon/start-pulseaudio-x11.in | 6 ++++++
- 2 files changed, 12 insertions(+), 0 deletions(-)
-
-diff --git a/src/daemon/start-pulseaudio-kde.in b/src/daemon/start-pulseaudio-kde.in
-index c319e7d..e83fdea 100755
---- a/src/daemon/start-pulseaudio-kde.in
-+++ b/src/daemon/start-pulseaudio-kde.in
-@@ -19,6 +19,12 @@
-
- set -e
-
-+. /etc/sysconfig/sound
-+
-+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
-+ exit 1
-+fi
-+
- [ -z "$PULSE_SERVER" ]
-
- @PA_BINARY@ --start "$@"
-diff --git a/src/daemon/start-pulseaudio-x11.in b/src/daemon/start-pulseaudio-x11.in
-index 391a6d3..401828d 100755
---- a/src/daemon/start-pulseaudio-x11.in
-+++ b/src/daemon/start-pulseaudio-x11.in
-@@ -19,6 +19,12 @@
-
- set -e
-
-+. /etc/sysconfig/sound
-+
-+if [ x"$PULSEAUDIO_ENABLE" = x"no" ] ; then
-+ exit 1
-+fi
-+
- @PA_BINARY@ --start "$@"
-
- if [ x"$DISPLAY" != x ] ; then
+++ /dev/null
-From: Anas Nashif <anas.nashif@intel.com>
-Date: Sat, 10 Nov 2012 11:21:15 -0800
-Subject: dsuppress socket error
-
----
- src/pulsecore/socket-client.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/pulsecore/socket-client.c b/src/pulsecore/socket-client.c
-index 23d5d88..051cf68 100644
---- a/src/pulsecore/socket-client.c
-+++ b/src/pulsecore/socket-client.c
-@@ -253,7 +253,7 @@ static int sockaddr_prepare(pa_socket_client *c, const struct sockaddr *sa, size
- c->local = pa_socket_address_is_local(sa);
-
- if ((c->fd = pa_socket_cloexec(sa->sa_family, SOCK_STREAM, 0)) < 0) {
-- pa_log("socket(): %s", pa_cstrerror(errno));
-+ /*pa_log("socket(): %s", pa_cstrerror(errno));*/
- return -1;
- }
-
+++ /dev/null
-From: Anas Nashif <anas.nashif@intel.com>
-Date: Sat, 10 Nov 2012 11:21:51 -0800
-Subject: wrong memset
-
----
- src/modules/echo-cancel/adrian-aec.c | 2 +-
- src/modules/rtp/rtp.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/modules/echo-cancel/adrian-aec.c b/src/modules/echo-cancel/adrian-aec.c
-index 1476ee4..9928424 100644
---- a/src/modules/echo-cancel/adrian-aec.c
-+++ b/src/modules/echo-cancel/adrian-aec.c
-@@ -163,7 +163,7 @@ static void AEC_leaky(AEC *a)
- } else if (1 == a->hangover) {
- --(a->hangover);
- // My Leaky NLMS is to erase vector w when hangover expires
-- memset(a->w, 0, sizeof(a->w));
-+ memset(a->w, 0, sizeof(REAL));
- }
- }
- }
-diff --git a/src/modules/rtp/rtp.c b/src/modules/rtp/rtp.c
-index 178717c..5ba32c6 100644
---- a/src/modules/rtp/rtp.c
-+++ b/src/modules/rtp/rtp.c
-@@ -286,7 +286,7 @@ int pa_rtp_recv(pa_rtp_context *c, pa_memchunk *chunk, pa_mempool *pool, struct
-
- if (!found_tstamp) {
- pa_log_warn("Couldn't find SCM_TIMESTAMP data in auxiliary recvmsg() data!");
-- memset(tstamp, 0, sizeof(tstamp));
-+ memset(tstamp, 0, sizeof(struct timeval));
- }
-
- return 0;
%setup -q -T -b0
%build
-%autogen
export CFLAGS="%{optflags} -fno-strict-aliasing"
# libpulse and libpulsecommon need each other - no way with as-needed
export LD_AS_NEEDED=0