--- /dev/null
+diff -urN udpcast-20120424/console.h udpcast-20120424.new/console.h
+--- udpcast-20120424/console.h 2005-12-22 23:59:18.000000000 +0100
++++ udpcast-20120424.new/console.h 2013-01-30 22:02:20.014213664 +0100
+@@ -4,6 +4,8 @@
+ #ifdef __MINGW32__
+ #include <winsock2.h>
+ #include <winbase.h>
++#else
++#include <sys/select.h>
+ #endif /* __MINGW32__ */
+
+ #define prepareConsole udpc_prepareConsole
Summary: UDPcast is a multicast file transfer tool
Summary(pl.UTF-8): UDPcast - przesyłanie plików przez multicast
Name: udpcast
-Version: 20110710
+Version: 20120424
Release: 1
License: GPL v2 for main code, BSD-like for fec.c
Group: Networking
Source0: http://udpcast.linux.lu/download/%{name}-%{version}.tar.gz
-# Source0-md5: d48c32226c394f84032c2239c5e9f8e4
+# Source0-md5: b9b67a577ca5659a93bcb9e43f298fb2
Patch0: %{name}-Makefile.patch
+Patch1: %{name}-include.patch
URL: http://udpcast.linux.lu/
BuildRequires: autoconf >= 2.58
BuildRequires: perl-tools-pod
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__autoconf}