[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, master, updated. debian/0.9.8-1-7-gb9a3a94

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Fri Jan 4 12:55:38 UTC 2008


The branch, master has been updated
       via  b9a3a94e787fea9f0ab4cf4f6baad0114fb89db7 (commit)
      from  acc6e29a310ad021c54d037f5d5d26d1b0a41906 (commit)


- Shortlog ------------------------------------------------------------
b9a3a94 * debian/patches/0008-Fix-compilation-on-non-linux-platforms.patch

Summary of changes:
 debian/changelog                                   |    3 ++
 ...08-Fix-compilation-on-non-linux-platforms.patch |   39 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit b9a3a94e787fea9f0ab4cf4f6baad0114fb89db7
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Fri Jan 4 13:55:22 2008 +0100

    * debian/patches/0008-Fix-compilation-on-non-linux-platforms.patch
      - Added. Fixes compliation on non-linux platforms such as GNU/kFreeBSD.
      Thanks to Aurelien Jarno for the patch (Closes: #454197)

diff --git a/debian/changelog b/debian/changelog
index e0ff651..c5138da 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,9 @@ pulseaudio (0.9.8-2) UNRELEASED; urgency=low
   * debian/p.../0007-Change-config-to-not-fail-if-loading-of-esd-gconf-o.patch
     - Added. Don't fail to load if esd, gconf or x11-publish fail.
       (Closes: 456590, #456505)
+  * debian/patches/0008-Fix-compilation-on-non-linux-platforms.patch
+    - Added. Fixes compliation on non-linux platforms such as GNU/kFreeBSD.
+    Thanks to Aurelien Jarno for the patch (Closes: #454197)
 
  -- Sjoerd Simons <sjoerd at debian.org>  Fri, 04 Jan 2008 12:13:08 +0100
 
diff --git a/debian/patches/0008-Fix-compilation-on-non-linux-platforms.patch b/debian/patches/0008-Fix-compilation-on-non-linux-platforms.patch
new file mode 100644
index 0000000..dee9d67
--- /dev/null
+++ b/debian/patches/0008-Fix-compilation-on-non-linux-platforms.patch
@@ -0,0 +1,39 @@
+From 36aaad043cf1d8cc06bf93be1a8531cc5a040566 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd at luon.net>
+Date: Fri, 4 Jan 2008 13:53:54 +0100
+Subject: [PATCH] Fix compilation on non-linux platforms
+
+---
+ src/pulsecore/rtpoll.c  |    2 ++
+ src/tests/rtpoll-test.c |    2 ++
+ 2 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/src/pulsecore/rtpoll.c b/src/pulsecore/rtpoll.c
+index 354c4c0..8300826 100644
+--- a/src/pulsecore/rtpoll.c
++++ b/src/pulsecore/rtpoll.c
+@@ -161,8 +161,10 @@ void pa_rtpoll_install(pa_rtpoll *p) {
+     p->installed = 1;
+ 
+ #ifdef HAVE_PPOLL
++# ifdef __linux__
+     if (p->dont_use_ppoll)
+         return;
++# endif
+ 
+     if ((p->rtsig = pa_rtsig_get_for_thread()) < 0) {
+         pa_log_warn("Failed to reserve POSIX realtime signal.");
+diff --git a/src/tests/rtpoll-test.c b/src/tests/rtpoll-test.c
+index 3ab992a..e649377 100644
+--- a/src/tests/rtpoll-test.c
++++ b/src/tests/rtpoll-test.c
+@@ -49,7 +49,9 @@ int main(int argc, char *argv[]) {
+     pa_rtpoll_item *i, *w;
+     struct pollfd *pollfd;
+ 
++#ifdef SIGRTMIN
+     pa_rtsig_configure(SIGRTMIN+10, SIGRTMAX);
++#endif
+ 
+     p = pa_rtpoll_new();
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 7878d22..fc5cd0d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 0005-Don-t-add-protocol-fields-introduced-in-version-12-w.patch
 0006-Implement-opcodes-added-in-version-12-in-the-tunnel.patch
 0007-Change-config-to-not-fail-if-loading-of-esd-gconf-o.patch
+0008-Fix-compilation-on-non-linux-platforms.patch

-- 
pulseaudio packaging



More information about the Pkg-pulseaudio-devel mailing list