Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #37 from cvicentiu/master
Browse files Browse the repository at this point in the history
Backport upstream MDEV-9479 fix: oqgraph fails to build with boost 1.60
  • Loading branch information
ottok committed May 30, 2016
2 parents e812ee6 + aaf4c08 commit 9b0c5df
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
10 changes: 8 additions & 2 deletions debian/changelog
@@ -1,4 +1,10 @@
mariadb-10.0 (10.0.25-1) UNRELEASED; urgency=low
mariadb-10.0 (10.0.25-1ubuntu1) unstable; urgency=low

* Fix oqgraph compilation failure when boost library is >= 1.60

-- Vicențiu Ciorbaru <cvicentiu@gmail.com> Sun, 29 May 2016 17:19:58 +0300

mariadb-10.0 (10.0.25-1) unstable; urgency=low

* Revert previous changes tailored for Ubuntu 16.04 compatibility.
* New upstream release 10.0.25. Includes fixes for the following
Expand All @@ -20,7 +26,7 @@ mariadb-10.0 (10.0.25-1) UNRELEASED; urgency=low
* Updated Turkish translation by Atila KOÇ (Closes: #825802).
* Add patch to provide passwordless root accounts for test suite.

-- Otto Kekäläinen <otto@debian.org> Sat, 30 Apr 2016 21:00:18 +0300
-- Otto Kekäläinen <otto@debian.org> Mon, 23 May 2016 16:08:52 +0300

mariadb-10.0 (10.0.24-7) unstable; urgency=low

Expand Down
20 changes: 20 additions & 0 deletions debian/patches/mdev-9479-oqgraph-boost.patch
@@ -0,0 +1,20 @@
Make OQGraph compile with Boost 1.6
Boost 1.6 changed the interface in boost::graph. Make sure to not use
the now removed defines.

This patch should be removed when upstream provides a fix.
Author: Vicențiu Ciorbaru <cvicentiu@gmail.com>
Bug: https://jira.mariadb.org/browse/MDEV-9479


--- mariadb-10.0-10.0.25.orig/storage/oqgraph/oqgraph_shim.h
+++ mariadb-10.0-10.0.25/storage/oqgraph/oqgraph_shim.h
@@ -254,7 +254,7 @@ namespace boost
typedef no_property type;
};

-#if BOOST_VERSION >= 104601
+#if BOOST_VERSION >= 104601 && BOOST_VERSION < 106000
template <>
struct graph_bundle_type<oqgraph3::graph>
{
1 change: 1 addition & 0 deletions debian/patches/series
Expand Up @@ -14,3 +14,4 @@ mdev-8375-passwordless-root-via-socket-auth.patch
mdev-8375-built-in-auth-socket.patch
mdev-8375-passwordless-accounts-for-testsuite.patch
mdev-9528-mysql_embedded.patch
mdev-9479-oqgraph-boost.patch

0 comments on commit 9b0c5df

Please sign in to comment.