rpms/fusecompress/devel fusecompress-1.99.19-gcc44.patch, NONE, 1.1 fusecompress.spec, 1.9, 1.10

Lubomir Rintel lkundrak at fedoraproject.org
Tue Feb 3 19:30:34 UTC 2009


Author: lkundrak

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

Modified Files:
	fusecompress.spec 
Added Files:
	fusecompress-1.99.19-gcc44.patch 
Log Message:
* Tue Feb 03 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.99.19-3
- Fix build with gcc44


fusecompress-1.99.19-gcc44.patch:

--- NEW FILE fusecompress-1.99.19-gcc44.patch ---
The STL headers in gcc-4.4 have been cleaned up, so that the headers don't drag in
unnecessary dependencies which aren't requested by the standard.
This fixes build for gcc-4.4

Lubomir Rintel <lkundrak at v3.sk>

diff -urp fusecompress-1.99.19.orig/src/main.cpp fusecompress-1.99.19/src/main.cpp
--- fusecompress-1.99.19.orig/src/main.cpp	2008-08-11 14:25:10.000000000 +0200
+++ fusecompress-1.99.19/src/main.cpp	2009-02-03 19:48:16.000000000 +0100
@@ -11,6 +11,7 @@
 #include "CompressedTable.hpp"
 #include "CompressedMagic.hpp"
 
+#include <cstdio>
 #include <cstdlib>
 #include <cstring>
 #include <iostream>
diff -urp fusecompress-1.99.19.orig/src/main_offline.cpp fusecompress-1.99.19/src/main_offline.cpp
--- fusecompress-1.99.19.orig/src/main_offline.cpp	2008-07-14 14:32:58.000000000 +0200
+++ fusecompress-1.99.19/src/main_offline.cpp	2009-02-03 19:58:39.000000000 +0100
@@ -16,6 +16,7 @@
 #include "Compress.hpp"
 #include "TransformTable.hpp"
 
+#include <cstdio>
 #include <iostream>
 #include <vector>
 #include <sstream>


Index: fusecompress.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fusecompress/devel/fusecompress.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- fusecompress.spec	28 Sep 2008 08:42:30 -0000	1.9
+++ fusecompress.spec	3 Feb 2009 19:30:03 -0000	1.10
@@ -1,6 +1,6 @@
 Name:           fusecompress
 Version:        1.99.19
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        FUSE based compressed filesystem implementation
 
 Group:          System Environment/Libraries
@@ -8,6 +8,7 @@
 URL:            http://miio.net/fusecompress/
 Source0:        http://miio.net/files/%{name}-%{version}.tar.gz
 Patch0:         fusecompress-1.99.19-types.patch
+Patch1:         fusecompress-1.99.19-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  rlog-devel fuse-devel zlib-devel bzip2-devel file-devel
@@ -25,6 +26,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .types
+%patch1 -p1 -b .gcc44
 
 
 %build
@@ -54,6 +56,9 @@
 
 
 %changelog
+* Tue Feb 03 2009 Lubomir Rintel <lkundrak at v3.sk> - 1.99.19-3
+- Fix build with gcc44
+
 * Sun Sep 28 2008 Lubomir Rintel <lkundrak at v3.sk> - 1.99.19-2
 - Fix build
 - Drop silly mount wrapper




More information about the fedora-extras-commits mailing list