rpms/mimetic/devel mimetic-0.9.3-gcc43.patch, NONE, 1.1 mimetic.spec, 1.13, 1.14

Matt Domsch mdomsch at fedoraproject.org
Tue Sep 16 20:09:37 UTC 2008


Author: mdomsch

Update of /cvs/extras/rpms/mimetic/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30183

Modified Files:
	mimetic.spec 
Added Files:
	mimetic-0.9.3-gcc43.patch 
Log Message:
fix FTBFS BR#434086 with several #include <cstring>s

mimetic-0.9.3-gcc43.patch:

--- NEW FILE mimetic-0.9.3-gcc43.patch ---
diff -urNp --exclude-from=/home/mdomsch/excludes --minimal mimetic-0.9.3.orig/mimetic/strutils.h mimetic-0.9.3/mimetic/strutils.h
--- mimetic-0.9.3.orig/mimetic/strutils.h	2005-02-23 04:26:14.000000000 -0600
+++ mimetic-0.9.3/mimetic/strutils.h	2008-09-16 15:00:28.000000000 -0500
@@ -18,6 +18,7 @@
 #include <string>
 #include <iostream>
 #include <algorithm>
+#include <cstring>
 
 namespace mimetic
 {
--- mimetic-0.9.3.orig/mimetic/os/mmfile.cxx	2006-07-13 08:36:25.000000000 -0500
+++ mimetic-0.9.3/mimetic/os/mmfile.cxx	2008-09-16 15:03:46.000000000 -0500
@@ -23,6 +23,7 @@
 #include <errno.h>
 #include <mimetic/libconfig.h>
 #include <mimetic/os/mmfile.h>
+#include <cstring>
 
 using namespace std;
 
--- mimetic-0.9.3.orig/mimetic/os/stdfile.cxx	2005-02-23 04:26:15.000000000 -0600
+++ mimetic-0.9.3/mimetic/os/stdfile.cxx	2008-09-16 15:05:02.000000000 -0500
@@ -15,6 +15,7 @@
  ***************************************************************************/
 #include <iostream>
 #include <fstream>
+#include <cstring>
 #include <sys/stat.h>
 #include <stdio.h>
 #include <time.h>
--- mimetic-0.9.3.orig/mimetic/tokenizer.h	2005-02-23 05:07:52.000000000 -0600
+++ mimetic-0.9.3/mimetic/tokenizer.h	2008-09-16 15:06:21.000000000 -0500
@@ -19,6 +19,7 @@
 #include <algorithm>
 #include <set>
 #include <string>
+#include <cstring>
 
 namespace mimetic
 {


Index: mimetic.spec
===================================================================
RCS file: /cvs/extras/rpms/mimetic/devel/mimetic.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- mimetic.spec	8 Aug 2008 17:51:22 -0000	1.13
+++ mimetic.spec	16 Sep 2008 20:09:07 -0000	1.14
@@ -2,7 +2,7 @@
 
 Name:		mimetic
 Version:	0.9.3
-Release:	%release_func 4
+Release:	%release_func 5
 Summary:	A full featured MIME library written in C++
 
 Group:		System Environment/Libraries
@@ -10,6 +10,7 @@
 URL:		http://codesink.org/mimetic_mime_library.html
 Source0:	http://codesink.org/download/%name-%version.tar.gz
 Patch0:		mimetic-0.9.2-noconfigh.patch
+Patch1:         mimetic-0.9.3-gcc43.patch
 BuildRoot:	%_tmppath/%name-%version-%release-root
 
 BuildRequires:	doxygen
@@ -41,6 +42,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .noconfigh
+%patch1 -p1
 
 
 %build
@@ -84,6 +86,9 @@
 
 
 %changelog
+* Tue Sep 16 2008 Matt Domsch <mdomsch at fedoraproject.org> - 0.9.3-5
+- fix FTBFS BR#434086 with several #include <cstring>s
+
 * Fri Aug  8 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.9.3-4
 - fix license tag
 




More information about the fedora-extras-commits mailing list