summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Banasiak2013-01-30 21:04:26 (GMT)
committerMarcin Banasiak2013-01-30 21:04:26 (GMT)
commit8eadc87e6ac22a76c8e0f8c763f8d742061cfc3f (patch)
treee4acb28a4e8a2e51d824de5f194fd8e18b97190c
parenta2ec539c6f5a5068bf51567ebaecfa6ad35a91f5 (diff)
downloadudpcast-master.zip
udpcast-master.tar.gz
- -include.patch adds missing include in console.h
-rw-r--r--udpcast-include.patch12
-rw-r--r--udpcast.spec6
2 files changed, 16 insertions, 2 deletions
diff --git a/udpcast-include.patch b/udpcast-include.patch
new file mode 100644
index 0000000..591c66d
--- /dev/null
+++ b/udpcast-include.patch
@@ -0,0 +1,12 @@
+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
diff --git a/udpcast.spec b/udpcast.spec
index 884ce75..633370c 100644
--- a/udpcast.spec
+++ b/udpcast.spec
@@ -1,13 +1,14 @@
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
@@ -44,6 +45,7 @@ Plik nagłówkowy do tworzenia wtyczek rateGovernora.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__autoconf}