[packages/firehose] - fix build - rel 3

baggins baggins at pld-linux.org
Tue Jan 28 21:47:19 CET 2014


commit 0bc8d32e64105caf541523c4ab997ca4787e938d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jan 28 21:47:09 2014 +0100

    - fix build
    - rel 3

 firehose-page.patch | 8 ++++++++
 firehose.spec       | 4 +++-
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/firehose.spec b/firehose.spec
index 05530e8..c8a1520 100644
--- a/firehose.spec
+++ b/firehose.spec
@@ -2,12 +2,13 @@ Summary:	Easy data transfer over parallel network devices
 Summary(pl.UTF-8):	Narzędzie do łatwego przesyłania danych po równoległych urządzeniach sieciowych
 Name:		firehose
 Version:	0.6.0
-Release:	2
+Release:	3
 License:	LGPL
 Group:		Networking/Utilities
 Source0:	http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
 # Source0-md5:	04b846adb6f90df2756d297ab02cce21
 Patch0:		%{name}-sh.patch
+Patch1:		%{name}-page.patch
 URL:		http://heroines.sourceforge.net/firehose.php3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,6 +41,7 @@ Pliki nagłówkowe i statyczna biblioteka firehose.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} \
diff --git a/firehose-page.patch b/firehose-page.patch
new file mode 100644
index 0000000..e8d76ce
--- /dev/null
+++ b/firehose-page.patch
@@ -0,0 +1,8 @@
+--- firehose-0.6.0/swapon.c~	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/swapon.c	2014-01-28 21:45:40.834925396 +0100
+@@ -1,5 +1,4 @@
+ #include <unistd.h>
+-#include <asm/page.h>
+ #include <sys/swap.h>
+ 
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firehose.git/commitdiff/0bc8d32e64105caf541523c4ab997ca4787e938d



More information about the pld-cvs-commit mailing list