[pulseaudio] 01/06: Add patch to disable srbchannel tests when eventfd is not available

Felipe Sateler fsateler at moszumanska.debian.org
Thu Dec 4 03:56:13 UTC 2014


This is an automated email from the git hooks/post-receive script.

fsateler pushed a commit to branch debian/experimental
in repository pulseaudio.

commit a3a95af9225f089fc7857492aa22ee22c2e79df7
Author: Felipe Sateler <fsateler at debian.org>
Date:   Wed Dec 3 23:56:49 2014 -0300

    Add patch to disable srbchannel tests when eventfd is not available
---
 debian/changelog                                   |  6 +++
 .../disable-srbchannel-test-non-linux.patch        | 49 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 56 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 390a8a4..ac26892 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pulseaudio (5.99.1-2) UNRELEASED; urgency=medium
+
+  * Add patch to disable srbchannel tests when eventfd is not available
+
+ -- Felipe Sateler <fsateler at debian.org>  Wed, 03 Dec 2014 23:56:01 -0300
+
 pulseaudio (5.99.1-1) experimental; urgency=medium
 
   [ Luke Yelavich ]
diff --git a/debian/patches/disable-srbchannel-test-non-linux.patch b/debian/patches/disable-srbchannel-test-non-linux.patch
new file mode 100644
index 0000000..f64b2a3
--- /dev/null
+++ b/debian/patches/disable-srbchannel-test-non-linux.patch
@@ -0,0 +1,49 @@
+From: David Henningsson <david.henningsson at canonical.com>
+To: pulseaudio-discuss at lists.freedesktop.org
+Cc: fsateler at debian.org,
+	David Henningsson <david.henningsson at canonical.com>
+Subject: [PATCH] build-sys: Don't build srbchannel-test on targets without srbchannel
+Date: Tue,  2 Dec 2014 09:31:11 +0100
+Message-Id: <1417509071-9050-1-git-send-email-david.henningsson at canonical.com>
+X-Mailer: git-send-email 1.9.1
+
+Reported-by: Felipe Sateler <fsateler at debian.org>
+Signed-off-by: David Henningsson <david.henningsson at canonical.com>
+---
+
+So, I prefer having skipping the srbchannel test instead of having a succeding one
+in case there is no srbchannel functionality. Felipe, does this patch your issue?
+
+ configure.ac    | 1 +
+ src/Makefile.am | 6 +++++-
+ 2 files changed, 6 insertions(+), 1 deletion(-)
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -449,6 +449,7 @@ AC_CHECK_HEADERS_ONCE([execinfo.h])
+ AC_CHECK_HEADERS_ONCE([langinfo.h])
+ AC_CHECK_HEADERS_ONCE([regex.h pcreposix.h])
+ 
++AM_CONDITIONAL(HAVE_SYS_EVENTFD_H, test "x$ac_cv_header_sys_eventfd_h" = "xyes")
+ 
+ #### Typdefs, structures, etc. ####
+ 
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -288,11 +288,15 @@ TESTS_daemon = \
+ 
+ if !OS_IS_WIN32
+ TESTS_default += \
+-		srbchannel-test \
+ 		sigbus-test \
+ 		usergroup-test
+ endif
+ 
++if HAVE_SYS_EVENTFD_H
++TESTS_default += \
++		srbchannel-test
++endif
++
+ if !OS_IS_DARWIN
+ TESTS_default += \
+ 		once-test
diff --git a/debian/patches/series b/debian/patches/series
index 9dd5712..cbbeeed 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 gnu-kfreebsd.patch
+disable-srbchannel-test-non-linux.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git



More information about the pkg-pulseaudio-devel mailing list