devel/freeze freeze-2.5.0-printf.patch, NONE, 1.1 freeze-2.5.0-deffile.patch, NONE, 1.1 freeze.spec, 1.6, 1.7

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Sat Jul 23 18:27:18 UTC 2005


Author: mschwendt

Update of /cvs/extras/devel/freeze
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21547

Modified Files:
	freeze.spec 
Added Files:
	freeze-2.5.0-printf.patch freeze-2.5.0-deffile.patch 
Log Message:
see changelog entry

freeze-2.5.0-printf.patch:

--- NEW FILE freeze-2.5.0-printf.patch ---
diff -Nur freeze-2.5.0-orig/freeze.c freeze-2.5.0/freeze.c
--- freeze-2.5.0-orig/freeze.c	1999-05-20 11:07:51.000000000 +0200
+++ freeze-2.5.0/freeze.c	2005-07-23 20:25:42.000000000 +0200
@@ -76,7 +76,7 @@
     fprintf(stderr, "\n\
       -c         Write output on stdout, don't remove original.\n\
       -d         If given, melting is done instead.\n\
-      -g         Use \"greedy\" parsing (1.5% worse, 40% faster).\n\
+      -g         Use \"greedy\" parsing (1.5%% worse, 40%% faster).\n\
       -f         Forces output file to be generated, even if one already\n\
                  exists, and even if no space is saved by freezeing.\n\
       -i         Image mode.\n\
diff -Nur freeze-2.5.0-orig/statist.c freeze-2.5.0/statist.c
--- freeze-2.5.0-orig/statist.c	1999-05-20 11:07:51.000000000 +0200
+++ freeze-2.5.0/statist.c	2005-07-23 20:25:42.000000000 +0200
@@ -261,7 +261,7 @@
 		}
 		in_count += i;
 		if ((in_count > indc_count)) {
-			fprintf(stderr, "%5dK\b\b\b\b\b\b", in_count / 1024);
+			fprintf(stderr, "%5ldK\b\b\b\b\b\b", in_count / 1024);
 			fflush (stderr);
 			indc_count += 4096;
 		}

freeze-2.5.0-deffile.patch:

--- NEW FILE freeze-2.5.0-deffile.patch ---
diff -Nur freeze-2.5.0-orig/freeze.1 freeze-2.5.0/freeze.1
--- freeze-2.5.0-orig/freeze.1	1999-05-20 11:07:51.000000000 +0200
+++ freeze-2.5.0/freeze.1	2005-07-23 20:21:06.000000000 +0200
@@ -109,7 +109,7 @@
 of following files in the command string. An explicite definition
 of the file's type can give up to 2% of additional compression.
 The list of types is stored in file
-.IR /usr/local/lib/freeze.cnf .
+.IR /usr/lib/freeze.cnf .
 Types may be abbreviated while not ambigious. You can also determine
 values for the static Huffman table by using a list of 8 numbers
 separated by commas instead of
diff -Nur freeze-2.5.0-orig/README freeze-2.5.0/README
--- freeze-2.5.0-orig/README	1999-05-20 11:07:51.000000000 +0200
+++ freeze-2.5.0/README	2005-07-23 20:23:28.000000000 +0200
@@ -160,7 +160,7 @@
 Note: If you use "gensample | statist", remember that INTR influence BOTH
 processes !!
 
-You may create the /etc/default/freeze (or rather /usr/local/lib/freeze.cnf,
+You may create the /etc/default/freeze (or rather /usr/lib/freeze.cnf,
 which is now the default, NOTE IT!) file (in MS-DOS it is FREEZE.CNF in
 the directory of FREEZE.EXE), which has the following format:  name =
 ``statist's output (8 numbers)'', e.g.:


Index: freeze.spec
===================================================================
RCS file: /cvs/extras/devel/freeze/freeze.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- freeze.spec	6 Apr 2005 22:11:37 -0000	1.6
+++ freeze.spec	23 Jul 2005 18:27:16 -0000	1.7
@@ -1,13 +1,14 @@
 Name:    freeze
 Version: 2.5.0
-Release: 3
-
+Release: 4
 Summary: freeze/melt/fcat compression utilities
 
 Group:     Applications/Archiving
 License:   Distributable
 Source:    http://www.ibiblio.org/pub/Linux/utils/compress/freeze-2.5.0.tar.gz
-Patch:     freeze-2.5.patch
+Patch0:    freeze-2.5.patch
+Patch1:    freeze-2.5.0-printf.patch
+Patch2:    freeze-2.5.0-deffile.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -17,7 +18,9 @@
 
 %prep
 %setup
-%patch
+%patch0 -p1 -b .Makefile
+%patch1 -p1 -b .printf
+%patch2 -p1 -b .deffile
 
 %build
 chmod u+x configure
@@ -48,6 +51,11 @@
 %attr(0755,root,root) %{_bindir}/*
 
 %changelog
+* Sat Jul 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.5.0-4
+- Fix bad printf string (#149613).
+- Fix default cnf file location in readme and man page.
+- Don't strip.
+
 * Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
 - rebuilt
 




More information about the scm-commits mailing list