Package: udpcast
Version: 20100130-3
Followup-For: Bug #701436
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu raring ubuntu-patch

Dear Maintainer,

In Ubuntu 13.04, the attached patch was applied to achieve the following:

  * Rearranged preprocessor directive for FD_SET(3), fixing FTBFS.


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5.0-27-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru udpcast-20100130/debian/patches/missing_fdset3 udpcast-20100130/debian/patches/missing_fdset3
--- udpcast-20100130/debian/patches/missing_fdset3	1969-12-31 19:00:00.000000000 -0500
+++ udpcast-20100130/debian/patches/missing_fdset3	2013-04-14 16:57:48.000000000 -0400
@@ -0,0 +1,25 @@
+Index: udpcast-20100130/console.c
+===================================================================
+--- udpcast-20100130.orig/console.c	2009-10-29 03:13:59.000000000 -0400
++++ udpcast-20100130/console.c	2013-04-14 16:57:42.006780323 -0400
+@@ -10,7 +10,6 @@
+ #ifndef __MINGW32__
+ 
+ #include <termios.h>
+-#include <sys/select.h>
+ 
+ struct console_t {
+     int fd; /* Filedescriptor for console, or -1 if disabled */
+Index: udpcast-20100130/console.h
+===================================================================
+--- udpcast-20100130.orig/console.h	2005-12-22 17:59:18.000000000 -0500
++++ udpcast-20100130/console.h	2013-04-14 16:57:35.402888636 -0400
+@@ -6,6 +6,8 @@
+ #include <winbase.h>
+ #endif /* __MINGW32__ */
+ 
++#include <sys/select.h>
++
+ #define prepareConsole udpc_prepareConsole
+ #define getConsoleFd udpc_getConsoleFd
+ #define restoreConsole udpc_restoreConsole
diff -Nru udpcast-20100130/debian/patches/series udpcast-20100130/debian/patches/series
--- udpcast-20100130/debian/patches/series	2011-07-23 06:22:40.000000000 -0400
+++ udpcast-20100130/debian/patches/series	2013-04-14 16:55:32.000000000 -0400
@@ -1,2 +1,3 @@
 nostrip
 manpage_fixes
+missing_fdset3

Reply via email to