rpms/libchmxx/devel libchmxx-0.1-gcc43.patch, NONE, 1.1 libchmxx.spec, 1.4, 1.5

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Thu Jan 3 22:35:19 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/libchmxx/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11483

Modified Files:
	libchmxx.spec 
Added Files:
	libchmxx-0.1-gcc43.patch 
Log Message:
* Thu Jan  3 2008 Patrice Dumas <pertusus at free.fr> 0.1-6
- fix for gcc 4.3


libchmxx-0.1-gcc43.patch:

--- NEW FILE libchmxx-0.1-gcc43.patch ---
diff -up libchmxx-0.1/src/chm.cpp.gcc43 libchmxx-0.1/src/chm.cpp
--- libchmxx-0.1/src/chm.cpp.gcc43	2008-01-03 23:31:12.000000000 +0100
+++ libchmxx-0.1/src/chm.cpp	2008-01-03 23:31:34.000000000 +0100
@@ -1,6 +1,7 @@
 
 #include <iostream>
 #include <cstdio>
+#include <cstring>
 #include <streambuf>
 #include <map>
 #include <algorithm>


Index: libchmxx.spec
===================================================================
RCS file: /cvs/extras/rpms/libchmxx/devel/libchmxx.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libchmxx.spec	12 Sep 2006 17:05:40 -0000	1.4
+++ libchmxx.spec	3 Jan 2008 22:34:44 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           libchmxx
 Version:        0.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        C++ bindings for chmlib
 
 Group:          System Environment/Libraries
@@ -8,6 +8,7 @@
 URL:            http://www.mare.ee/indrek/libchmxx/
 Source0:        http://www.mare.ee/indrek/libchmxx/libchmxx-%{version}.tar.gz
 Patch0:         libchmxx-kchm-fixes.diff
+Patch1:         libchmxx-0.1-gcc43.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  chmlib-devel libtool
@@ -30,6 +31,7 @@
 %prep
 %setup -q
 %patch -p1
+%patch1 -p1 -b .gcc43
 
 %build
 %configure --disable-static
@@ -62,6 +64,9 @@
 %{_includedir}/chmxx.h
 
 %changelog
+* Thu Jan  3 2008 Patrice Dumas <pertusus at free.fr> 0.1-6
+- fix for gcc 4.3
+
 * Tue Sep 12 2006 Patrice Dumas <pertusus at free.fr> 0.1-5
 - rebuild for FC6
 




More information about the fedora-extras-commits mailing list