commit: a0d3d0ac6c9c8b10f715c5ae5a0e7d342392c64a Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Tue Feb 10 17:50:27 2015 +0000 Commit: Brian Evans <grknight <AT> gentoo <DOT> org> CommitDate: Tue Feb 10 17:50:27 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/mysql-extras.git;a=commit;h=a0d3d0ac
Fix multilib compile of libndbclient due to missing WITHOUT_SERVER check --- 00000_index.txt | 5 +++++ 30000_all_mysql-cluster-multilib-property.patch | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/00000_index.txt b/00000_index.txt index f1c2852..11046cb 100644 --- a/00000_index.txt +++ b/00000_index.txt @@ -1898,3 +1898,8 @@ @@ Bug 537872 @@ Upstream bug 75622 +@patch 30000_all_mysql-cluster-multilib-property.patch +@ver 7.03.00.00 to 7.99.99.99 +@pn mysql-cluster +@@ Fix property added to something not built with WITHOUT_SERVER + diff --git a/30000_all_mysql-cluster-multilib-property.patch b/30000_all_mysql-cluster-multilib-property.patch new file mode 100644 index 0000000..c4cc2d4 --- /dev/null +++ b/30000_all_mysql-cluster-multilib-property.patch @@ -0,0 +1,14 @@ +diff -aurN a/storage/ndb/CMakeLists.txt b/storage/ndb/CMakeLists.txt +--- a/storage/ndb/CMakeLists.txt 2015-02-10 12:21:44.502545905 -0500 ++++ b/storage/ndb/CMakeLists.txt 2015-02-10 12:30:53.985233768 -0500 +@@ -145,7 +145,9 @@ + # Add HAVE_NDB_BINLOG to the list of compile definitions used when compiling + # the ndbcluster plugin library(NOTE! there is also ndbcluster_embedded which + # is compiled without this define) +-NDB_ADD_TARGET_PROPERTY(ndbcluster COMPILE_DEFINITIONS "HAVE_NDB_BINLOG") ++IF(NOT WITHOUT_SERVER) ++ NDB_ADD_TARGET_PROPERTY(ndbcluster COMPILE_DEFINITIONS "HAVE_NDB_BINLOG") ++ENDIF() + + IF(CMAKE_SIZEOF_VOID_P EQUAL 4) + MESSAGE(STATUS "Building NDB 32-bit")
