rpms/fityk/devel fityk-gcc43.patch,NONE,1.1 fityk.spec,1.3,1.4

Jesse Keating (jkeating) fedora-extras-commits at redhat.com
Tue Apr 8 02:36:54 UTC 2008


Author: jkeating

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

Modified Files:
	fityk.spec 
Added Files:
	fityk-gcc43.patch 
Log Message:
* Mon Apr 07 2008 Jesse Keating <jkeating at redhat.com> - 0.8.1-12
- Patch for GCC 4.3


fityk-gcc43.patch:

--- NEW FILE fityk-gcc43.patch ---
diff -up fityk-0.8.1/src/fileroutines.cpp.gcc43 fityk-0.8.1/src/fileroutines.cpp
--- fityk-0.8.1/src/fileroutines.cpp.gcc43  2008-04-06 14:15:06.000000000 -0400
+++ fityk-0.8.1/src/fileroutines.cpp    2008-04-06 14:15:15.000000000 -0400
@@ -5,6 +5,7 @@
 
 #include <fstream>
 #include <sstream>
+#include <cstring>
 
 #include "fileroutines.h"
 #include "common.h"
diff -up fityk-0.8.1/src/fit.cpp.gcc43 fityk-0.8.1/src/fit.cpp
--- fityk-0.8.1/src/fit.cpp.gcc43   2007-03-18 08:12:12.000000000 -0400
+++ fityk-0.8.1/src/fit.cpp 2008-04-06 14:14:20.000000000 -0400
@@ -7,6 +7,7 @@
 #include <algorithm>
 #include <sstream>
 #include <math.h>
+#include <cstring>
 #include "logic.h"
 #include "sum.h"
 #include "data.h"
diff -up fityk-0.8.1/src/ui.cpp.gcc43 fityk-0.8.1/src/ui.cpp
--- fityk-0.8.1/src/ui.cpp.gcc43    2007-04-12 01:11:17.000000000 -0400
+++ fityk-0.8.1/src/ui.cpp  2008-04-06 14:14:20.000000000 -0400
@@ -8,6 +8,7 @@
 #include <fstream>
 #include <string>
 #include <iostream>
+#include <cstring>
 #include "logic.h"
 #include "cmd.h"



Index: fityk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/fityk/devel/fityk.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- fityk.spec	19 Feb 2008 07:17:39 -0000	1.3
+++ fityk.spec	8 Apr 2008 02:36:06 -0000	1.4
@@ -1,13 +1,14 @@
 Name:		fityk
 Summary:	Non-linear curve fitting and data analysis
 Version:	0.8.1
-Release:	11%{?dist}
+Release:	12%{?dist}
 
 Source0:	http://downloads.sourceforge.net/fityk/%{name}-%{version}.tar.bz2
 URL:		http://fityk.sourceforge.net/
 License:	GPL
 Group:		Applications/Engineering
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
+Patch0:		%{name}-gcc43.patch
 
 BuildRequires:	gcc-c++, readline-devel, ncurses-devel, desktop-file-utils
 %if 0%{?mandriva_version}
@@ -35,6 +36,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure CPPFLAGS="-DNDEBUG" %{?__cc:CC="%__cc"} %{?__cxx:CXX="%__cxx"}
@@ -105,6 +107,9 @@
 %{_libdir}/*.so
 
 %changelog
+* Mon Apr 07 2008 Jesse Keating <jkeating at redhat.com> - 0.8.1-12
+- Patch for GCC 4.3
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.8.1-11
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list