[packages/firehose] Rel 5

arekm arekm at pld-linux.org
Thu May 21 15:52:29 CEST 2026


commit b2c25a61cb4d7d56f5274752e31608c426134500
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu May 21 15:52:06 2026 +0200

    Rel 5

 firehose-includes.patch | 113 ++++++++++++++++++++++++++++++++++++++++++++++++
 firehose-page.patch     |   8 ----
 firehose.spec           |   6 +--
 3 files changed, 116 insertions(+), 11 deletions(-)
---
diff --git a/firehose.spec b/firehose.spec
index bc5e56e..7deeb48 100644
--- a/firehose.spec
+++ b/firehose.spec
@@ -2,13 +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:	3
+Release:	4
 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
+Patch1:		%{name}-includes.patch
 URL:		http://heroines.sourceforge.net/firehose.php3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -44,9 +44,9 @@ Pliki nagłówkowe i statyczna biblioteka firehose.
 %patch -P1 -p1
 
 %build
+export CFLAGS="%{rpmcflags} %{rpmcppflags}"
 %{__make} \
 	GCC="%{__cc}" \
-	CFLAGS="%{rpmcflags}" \
 	TARGET=pld
 
 %install
diff --git a/firehose-includes.patch b/firehose-includes.patch
new file mode 100644
index 0000000..86a4e02
--- /dev/null
+++ b/firehose-includes.patch
@@ -0,0 +1,113 @@
+diff -urN firehose-0.6.0.orig/bottom.c firehose-0.6.0/bottom.c
+--- firehose-0.6.0.orig/bottom.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/bottom.c	2026-05-21 01:31:12.092885685 +0200
+@@ -1,8 +1,10 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdint.h>
++#include <string.h>
+ #include <time.h>
+ #include <unistd.h>
++#include <sys/time.h>
+ 
+ typedef struct 
+ {
+diff -urN firehose-0.6.0.orig/dateget.c firehose-0.6.0/dateget.c
+--- firehose-0.6.0.orig/dateget.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/dateget.c	2026-05-21 01:29:52.516219018 +0200
+@@ -4,7 +4,9 @@
+ #include <stdint.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <sys/socket.h>
++#include <sys/time.h>
+ #include <sys/types.h>
+ #include <time.h>
+ 
+diff -urN firehose-0.6.0.orig/dateserve.c firehose-0.6.0/dateserve.c
+--- firehose-0.6.0.orig/dateserve.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/dateserve.c	2026-05-21 01:29:53.466219018 +0200
+@@ -3,6 +3,7 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <stdlib.h>
++#include <unistd.h>
+ #include <sys/socket.h>
+ #include <sys/time.h>
+ #include <sys/types.h>
+diff -urN firehose-0.6.0.orig/extract.c firehose-0.6.0/extract.c
+--- firehose-0.6.0.orig/extract.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/extract.c	2026-05-21 01:31:12.092885685 +0200
+@@ -1,3 +1,4 @@
++#define _LARGEFILE64_SOURCE
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
+diff -urN firehose-0.6.0.orig/firehose.c firehose-0.6.0/firehose.c
+--- firehose-0.6.0.orig/firehose.c	2003-07-26 04:16:54.000000000 +0200
++++ firehose-0.6.0/firehose.c	2026-05-21 01:29:50.356219018 +0200
+@@ -4,6 +4,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <sys/sem.h>
+ 
+ union semun {
+diff -urN firehose-0.6.0.orig/firepipe.c firehose-0.6.0/firepipe.c
+--- firehose-0.6.0.orig/firepipe.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/firepipe.c	2026-05-21 01:32:10.266219019 +0200
+@@ -1,6 +1,8 @@
+ #include "firehose.h"
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
+ #include <sys/time.h>
+ 
+ #define BUFFER_SIZE 0x100000
+diff -urN firehose-0.6.0.orig/firerecv.c firehose-0.6.0/firerecv.c
+--- firehose-0.6.0.orig/firerecv.c	2003-07-25 11:18:14.000000000 +0200
++++ firehose-0.6.0/firerecv.c	2026-05-21 01:32:14.009552352 +0200
+@@ -1,6 +1,8 @@
+ #include "firehose.h"
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
+ 
+ #define BUFFER_SIZE 0x100000
+ 
+diff -urN firehose-0.6.0.orig/firesend.c firehose-0.6.0/firesend.c
+--- firehose-0.6.0.orig/firesend.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/firesend.c	2026-05-21 01:32:12.042885686 +0200
+@@ -1,6 +1,8 @@
+ #include "firehose.h"
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
++#include <unistd.h>
+ #include <sys/time.h>
+ 
+ #define BUFFER_SIZE 0x100000
+diff -urN firehose-0.6.0.orig/swapon.c firehose-0.6.0/swapon.c
+--- firehose-0.6.0.orig/swapon.c	2003-02-03 17:05:29.000000000 +0100
++++ firehose-0.6.0/swapon.c	2026-05-21 01:31:21.359552352 +0200
+@@ -1,5 +1,6 @@
++#include <stdio.h>
++#include <stdlib.h>
+ #include <unistd.h>
+-#include <asm/page.h>
+ #include <sys/swap.h>
+ 
+ 
+@@ -17,7 +18,7 @@
+ 	{
+ 		perror("swapon");
+ 	}
+-	return ;
++	return 0;
+ }
+ 
+ 
diff --git a/firehose-page.patch b/firehose-page.patch
deleted file mode 100644
index e8d76ce..0000000
--- a/firehose-page.patch
+++ /dev/null
@@ -1,8 +0,0 @@
---- 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/b2c25a61cb4d7d56f5274752e31608c426134500



More information about the pld-cvs-commit mailing list