[mbox2eml] Fix build with boost 1.46.

Ville Skyttä scop at fedoraproject.org
Mon Feb 7 17:31:40 UTC 2011


commit 83d719c1c9952591ab0b61c8d6164fd61f6ff226
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Feb 7 19:31:34 2011 +0200

    Fix build with boost 1.46.

 mbox2eml.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/mbox2eml.spec b/mbox2eml.spec
index 94b1761..7dde76b 100644
--- a/mbox2eml.spec
+++ b/mbox2eml.spec
@@ -1,6 +1,6 @@
 Name:           mbox2eml
 Version:        0.1.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Split mbox mailboxes into single .eml files
 
 Group:          Applications/Internet
@@ -29,7 +29,7 @@ install -pm 644 %{SOURCE1} .
 
 
 %build
-%configure LIBS="-lboost_system"
+%configure LIBS="-lboost_system" CPPFLAGS="-DBOOST_FILESYSTEM_VERSION=2"
 make %{?_smp_mflags}
 
 
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Feb  7 2011 Ville Skyttä <ville.skytta at iki.fi> - 0.1.1-6
+- Fix build with boost 1.46.
+
 * Mon Feb 07 2011 Thomas Spura <tomspur at fedoraproject.org> - 0.1.1-5
 - rebuild for new boost
 


More information about the scm-commits mailing list