[packages/buffer] Rel 6

arekm arekm at pld-linux.org
Wed May 20 18:18:08 CEST 2026


commit bf36457a282557de424113cb7469d7894079321d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed May 20 18:17:52 2026 +0200

    Rel 6

 buffer-largefile.patch | 14 ++------------
 buffer.spec            |  4 ++--
 2 files changed, 4 insertions(+), 14 deletions(-)
---
diff --git a/buffer.spec b/buffer.spec
index fe759f5..669720f 100644
--- a/buffer.spec
+++ b/buffer.spec
@@ -2,7 +2,7 @@ Summary:	Standard input and output buffering program
 Summary(pl.UTF-8):	Program buforujący standardowe wejście i wyjście
 Name:		buffer
 Version:	1.19
-Release:	5
+Release:	6
 License:	GPL
 Group:		Applications/Archiving
 Source0:	http://www.netsw.org/system/tools/fileutils/filter/%{name}-%{version}.shar.gz
@@ -30,7 +30,7 @@ chmod 755 %{name}-%{version}.shar
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcppflags} %{rpmcflags} -std=gnu89"
 
 %install
 rm -rf $RPM_BUILD_ROOT
diff --git a/buffer-largefile.patch b/buffer-largefile.patch
index eefe75a..86cb8c4 100644
--- a/buffer-largefile.patch
+++ b/buffer-largefile.patch
@@ -1,5 +1,4 @@
-diff -ru buffer-1.19.orig/buffer.c buffer-1.19/buffer.c
---- buffer-1.19.orig/buffer.c	2003-01-05 13:08:22.000000000 -0700
+--- buffer-1.19/buffer.c.orig	2003-01-05 13:08:22.000000000 -0700
 +++ buffer-1.19/buffer.c	2003-01-05 13:28:07.000000000 -0700
 @@ -109,6 +109,9 @@
   * Initial revision
@@ -10,13 +9,4 @@ diff -ru buffer-1.19.orig/buffer.c buffer-1.19/buffer.c
 +
  #include <stdlib.h>
  #include <string.h>
- #include <unistd.h>
-@@ -308,7 +311,7 @@
- 				fprintf( stderr, "-i given twice\n" );
- 				byee( -1 );
- 			}
--			if( (fdin = open( optarg, O_RDONLY )) < 0 ){
-+			if( (fdin = open( optarg, O_RDONLY)) < 0 ){
- 				report_proc();
- 				perror( "cannot open input file" );
- 				fprintf( stderr, "filename: %s\n", optarg );
+ #include <limits.h>
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/buffer.git/commitdiff/bf36457a282557de424113cb7469d7894079321d



More information about the pld-cvs-commit mailing list