rpms/lzip/devel lzip-1.4-missing_cstdio.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 lzip.spec, 1.1, 1.2 sources, 1.2, 1.3

Till Maas till at fedoraproject.org
Sun Feb 15 09:18:37 UTC 2009


Author: till

Update of /cvs/pkgs/rpms/lzip/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21417

Modified Files:
	.cvsignore lzip.spec sources 
Added Files:
	lzip-1.4-missing_cstdio.patch 
Log Message:
* Sun Feb 15 2009 Till Maas <opensource at till.name> - 1.4-1
- Update to new release
- Add compile fixes for gcc 4.4 (missing #include <cstdio.h>)


lzip-1.4-missing_cstdio.patch:

--- NEW FILE lzip-1.4-missing_cstdio.patch ---
gcc 4.4 does not include <cstdio> when <string> is included, therefore <cstdio>
needs to be included explicitly if needed.

diff -up lzip-1.4/lziprecover.cc.missing_cstdio lzip-1.4/lziprecover.cc
--- lzip-1.4/lziprecover.cc.missing_cstdio	2009-02-15 10:03:27.000000000 +0100
+++ lzip-1.4/lziprecover.cc	2009-02-15 10:03:50.000000000 +0100
@@ -27,6 +27,7 @@
 #include <cstdlib>
 #include <cstring>
 #include <string>
+#include <cstdio>
 #include <vector>
 #include <fcntl.h>
 #include <stdint.h>
diff -up lzip-1.4/decoder.cc.missing_cstdio lzip-1.4/decoder.cc
--- lzip-1.4/decoder.cc.missing_cstdio	2009-02-15 09:57:15.000000000 +0100
+++ lzip-1.4/decoder.cc	2009-02-15 09:57:17.000000000 +0100
@@ -21,6 +21,7 @@
 #include <cstdlib>
 #include <cstring>
 #include <string>
+#include <cstdio>
 #include <vector>
 #include <stdint.h>
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/lzip/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	2 Dec 2008 17:45:58 -0000	1.2
+++ .cvsignore	15 Feb 2009 09:18:04 -0000	1.3
@@ -1 +1,2 @@
-lzip-1.1.tar.bz2
+lzip-1.4.tar.gz
+lzip-1.4.tar.gz.sig


Index: lzip.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lzip/devel/lzip.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- lzip.spec	2 Dec 2008 17:45:58 -0000	1.1
+++ lzip.spec	15 Feb 2009 09:18:04 -0000	1.2
@@ -1,12 +1,15 @@
 Name:           lzip
-Version:        1.1
-Release:        2%{?dist}
+Version:        1.4
+Release:        1%{?dist}
 Summary:        LZMA compressor with integrity checking
 
 Group:          Applications/File
 License:        GPLv3+
 URL:            http://www.nongnu.org/lzip/lzip.html
-Source0:        http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.bz2
+Source0:        http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz
+Source1:        http://download.savannah.gnu.org/releases/lzip/lzip-%{version}.tar.gz.sig
+# 2009-02-15: sent to upstream bug report mailinglist lzip-bug at nongnu.org
+Patch0:         lzip-1.4-missing_cstdio.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires(post): info
@@ -21,7 +24,7 @@
 
 %prep
 %setup -q
-
+%patch0 -p1 -b .missing_cstdio
 
 %build
 %configure CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_OPT_FLAGS"
@@ -64,6 +67,10 @@
 
 
 %changelog
+* Sun Feb 15 2009 Till Maas <opensource at till.name> - 1.4-1
+- Update to new release
+- Add compile fixes for gcc 4.4 (missing #include <cstdio.h>)
+
 * Thu Nov 27 2008 Till Maas <opensource at till.name> - 1.1-2
 - fix type in summary
 - call testsuite in %%check


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/lzip/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	2 Dec 2008 17:45:58 -0000	1.2
+++ sources	15 Feb 2009 09:18:04 -0000	1.3
@@ -1 +1,2 @@
-f016e24a935aadd07e40fe08cfa176f5  lzip-1.1.tar.bz2
+b7b7b7502c0364995709f5580539dfef  lzip-1.4.tar.gz
+ca48bb210716864384ddcbdc9f651644  lzip-1.4.tar.gz.sig




More information about the fedora-extras-commits mailing list