rpms/webcpp/devel webcpp-0.8.4-gcc43.patch, NONE, 1.1 webcpp.spec, 1.1, 1.2

Michal Fabry (furby) fedora-extras-commits at redhat.com
Sat Mar 8 10:09:10 UTC 2008


Author: furby

Update of /cvs/pkgs/rpms/webcpp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24580

Modified Files:
	webcpp.spec 
Added Files:
	webcpp-0.8.4-gcc43.patch 
Log Message:
fix for gcc 4.3


webcpp-0.8.4-gcc43.patch:

--- NEW FILE webcpp-0.8.4-gcc43.patch ---
diff -urp webcpp-0.8.4-src.orig/webcpp/main.cpp webcpp-0.8.4-src/webcpp/main.cpp
--- webcpp-0.8.4-src.orig/webcpp/main.cpp	2004-01-05 01:52:47.000000000 +0100
+++ webcpp-0.8.4-src/webcpp/main.cpp	2008-03-08 10:45:17.000000000 +0100
@@ -24,6 +24,7 @@
 
 #include "driver.h"
 #include <fstream>
+#include <stdlib.h>
 using namespace std;
 
 int main(int argc, char **argv) {


Index: webcpp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/webcpp/devel/webcpp.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- webcpp.spec	8 Mar 2008 09:36:42 -0000	1.1
+++ webcpp.spec	8 Mar 2008 10:08:12 -0000	1.2
@@ -1,12 +1,13 @@
 Name:		webcpp
 Version:	0.8.4
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	Convert C++ code to HTML
 License:	GPLv2
 Group:		Development/Tools
 URL:		http://webcpp.sourceforge.net
 Source:		http://prdownloads.sourceforge.net/webcpp/%{name}-%{version}-src.tar.gz
 Patch0:		webcpp-0.8.4-typo.patch
+Patch1:     webcpp-0.8.4-gcc43.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -19,6 +20,7 @@
 %prep
 %setup -qn %{name}-%{version}-src
 %patch0 -p1 -b .typo
+%patch1 -p1 -b .gcc43
 
 %build
 %configure
@@ -40,6 +42,9 @@
 
 
 %changelog
-* Fri Nov 23 2007  Michal Fabry <furby at fedoraproject.org> - 0.8.4-1
+* Sat Mar 08 2008 Michal Fabry <furby at fedoraproject.org> - 0.8.4-2
+- fix build with gcc 4.3
+
+* Fri Nov 23 2007 Michal Fabry <furby at fedoraproject.org> - 0.8.4-1
 - First build
 




More information about the fedora-extras-commits mailing list