[SCM] multicat/master: Attempt to fix FTBFS on non-Linux architectures by defining POLLRDHUP as 0 on kfreebsd, hurd.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Feb 22 11:37:46 UTC 2012


The following commit has been merged in the master branch:
commit 6630bc5145ca9f6a5f0f805f927172c986dd9184
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Feb 22 12:36:53 2012 +0100

    Attempt to fix FTBFS on non-Linux architectures by defining POLLRDHUP as 0 on kfreebsd,hurd.
    
    Closes: #660139

diff --git a/debian/patches/0001-nonlinux.patch b/debian/patches/0001-nonlinux.patch
new file mode 100644
index 0000000..f855399
--- /dev/null
+++ b/debian/patches/0001-nonlinux.patch
@@ -0,0 +1,19 @@
+Description: Add POLLRDHUP on architectures which don't define it.
+From: http://bugs.debian.org/660139
+---
+ multicat.c |    4 ++++
+ 1 file changed, 4 insertions(+)
+
+--- multicat.orig/multicat.c
++++ multicat/multicat.c
+@@ -42,6 +42,10 @@
+ #include <pthread.h>
+ #include <poll.h>
+ 
++#ifndef POLLRDHUP
++#define POLLRDHUP 0
++#endif
++
+ #include <bitstream/ietf/rtp.h>
+ #include <bitstream/mpeg/ts.h>
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5564d33
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-nonlinux.patch

-- 
multicat packaging



More information about the pkg-multimedia-commits mailing list