[mingw-qpid-cpp: 8/28] Added definition to force use of boost_filesystem API version 2.
Kalev Lember
kalev at fedoraproject.org
Wed Mar 7 17:17:28 UTC 2012
commit 71e70ac24fe9951f5540ce4c404b899c03bb0729
Author: Ted Ross <tross at redhat.com>
Date: Tue Feb 15 19:08:04 2011 -0500
Added definition to force use of boost_filesystem API version 2.
boost_filesystem_v2.patch | 11 +++++++++++
mingw32-qpid-cpp.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/boost_filesystem_v2.patch b/boost_filesystem_v2.patch
new file mode 100644
index 0000000..a104086
--- /dev/null
+++ b/boost_filesystem_v2.patch
@@ -0,0 +1,11 @@
+--- cpp/src/Makefile.am 2010-10-27 14:01:27.000000000 -0400
++++ cpp/src/Makefile.am 2011-02-07 15:35:30.962680422 -0500
+@@ -122,6 +122,8 @@
+ tmoduledir = $(libdir)/qpid/tests
+ tmodule_LTLIBRARIES=
+
++AM_CXXFLAGS += -DBOOST_FILESYSTEM_VERSION=2
++
+ ## Automake macros to build libraries and executables.
+ qpidd_CXXFLAGS = $(AM_CXXFLAGS) -DQPIDD_MODULE_DIR=\"$(dmoduledir)\" -DQPIDD_CONF_FILE=\"$(sysconfdir)/qpidd.conf\"
+ libqpidclient_la_CXXFLAGS = $(AM_CXXFLAGS) -DQPIDC_MODULE_DIR=\"$(cmoduledir)\" -DQPIDC_CONF_FILE=\"$(confdir)/qpidc.conf\"
diff --git a/mingw32-qpid-cpp.spec b/mingw32-qpid-cpp.spec
index da9e141..7422606 100644
--- a/mingw32-qpid-cpp.spec
+++ b/mingw32-qpid-cpp.spec
@@ -7,7 +7,7 @@
Name: mingw32-qpid-cpp
Version: 0.8
-Release: 0.4%{?dist}
+Release: 0.5%{?dist}
Summary: MinGW Windows port of AMQP C++ Daemons and Libraries
Group: Development/Libraries
@@ -17,6 +17,7 @@ URL: http://qpid.apache.org
Source0: http://people.apache.org/~robbie/qpid/%{version}/RC3/qpid-%{version}.tar.gz
Patch6: qpid-mingw.patch
+Patch7: boost_filesystem_v2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -37,6 +38,7 @@ an AMQP message broker using the AMQP protocol.
%prep
%setup -q -n qpid-%{version}
%patch6 -p0
+%patch7 -p0
%build
%{__mkdir_p} build
@@ -83,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
%doc cpp/RELEASE_NOTES
%changelog
+* Tue Feb 15 2011 Ted Ross <tross at apache.org> - 0.8-0.5
+- Added definition to force use of boost_filesystem API version 2.
+
* Mon Feb 14 2011 Andrew Beekhof <andrew at beekhof.net> - 0.8-0.4
- Rebuild for updated boost libraries
More information about the scm-commits
mailing list