commit 76cfa6d7ecf87dd1382189c2df758d4800cbd624
Author: Ɓukasz Krotowski <[email protected]>
Date:   Sat Aug 18 19:59:12 2012 +0200

    Updated to 0.9.7, fixed building with gcc 4.7.
    
    See http://gcc.gnu.org/gcc-4.7/porting_to.html and PR24163 for name lookup
    changes in gcc 4.7.

 mimetic-name-lookup-gcc47.patch | 11 +++++++++++
 mimetic.spec                    |  7 +++++--
 2 files changed, 16 insertions(+), 2 deletions(-)
---
diff --git a/mimetic.spec b/mimetic.spec
index bc0c32c..5cdf2c9 100644
--- a/mimetic.spec
+++ b/mimetic.spec
@@ -1,11 +1,13 @@
+# $Revision: 1.1 $, $Date: 2010/12/24 01:47:05 $
 Summary:       Email library (MIME)
 Name:          mimetic
-Version:       0.9.6
+Version:       0.9.7
 Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       http://codesink.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: f853036fddf3a89cdd66659776d2dbea
+# Source0-md5: 07cb65d98fbff212805928a2827db7db
+Patch0:                %{name}-name-lookup-gcc47.patch
 URL:           http://codesink.org/mimetic_mime_library.html
 BuildRequires: autoconf
 BuildRequires: automake
@@ -27,6 +29,7 @@ Header files and more to develop using mimetic.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
diff --git a/mimetic-name-lookup-gcc47.patch b/mimetic-name-lookup-gcc47.patch
new file mode 100644
index 0000000..178f433
--- /dev/null
+++ b/mimetic-name-lookup-gcc47.patch
@@ -0,0 +1,11 @@
+--- mimetic-0.9.7/mimetic/tokenizer.h.org      2012-08-18 19:20:55.020078062 
+0200
++++ mimetic-0.9.7/mimetic/tokenizer.h  2012-08-18 19:41:18.082105081 +0200
+@@ -147,7 +147,7 @@
+     ContTokenizer(const Container* cont, const DelimCont& delims)
+     : ItTokenizer<const_iterator,value_type>(cont->begin(), cont->end())
+     {
+-        setDelimList(delims);
++        this->setDelimList(delims);
+     }
+     void setSource(const Container* cont)
+     {
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to