[packages/udpcast] Update to 20120424
megabajt
megabajt at pld-linux.org
Wed Jan 30 22:06:09 CET 2013
commit 8eadc87e6ac22a76c8e0f8c763f8d742061cfc3f
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Wed Jan 30 22:04:26 2013 +0100
Update to 20120424
- -include.patch adds missing include in console.h
udpcast-include.patch | 12 ++++++++++++
udpcast.spec | 6 ++++--
2 files changed, 16 insertions(+), 2 deletions(-)
---
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}
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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/udpcast.git/commitdiff/8eadc87e6ac22a76c8e0f8c763f8d742061cfc3f
More information about the pld-cvs-commit
mailing list