From 3aa597d116d9784b365d600ab59e3cb6b6d6b1ae Mon Sep 17 00:00:00 2001 From: Matt Domsch Date: Sep 16 2008 20:09:07 +0000 Subject: fix FTBFS BR#434086 with several #include s --- diff --git a/mimetic-0.9.3-gcc43.patch b/mimetic-0.9.3-gcc43.patch new file mode 100644 index 0000000..2c8bc5a --- /dev/null +++ b/mimetic-0.9.3-gcc43.patch @@ -0,0 +1,41 @@ +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 + #include + #include ++#include + + 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 + #include + #include ++#include + + 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 + #include ++#include + #include + #include + #include +--- 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 + #include + #include ++#include + + namespace mimetic + { diff --git a/mimetic.spec b/mimetic.spec index d0dbde6..85d6297 100644 --- a/mimetic.spec +++ b/mimetic.spec @@ -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 @@ License: GPLv2+ 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 @@ will use %name. %prep %setup -q %patch0 -p1 -b .noconfigh +%patch1 -p1 %build @@ -84,6 +86,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Sep 16 2008 Matt Domsch - 0.9.3-5 +- fix FTBFS BR#434086 with several #include s + * Fri Aug 8 2008 Tom "spot" Callaway - 0.9.3-4 - fix license tag