commit:     2eae111954e16b5efa850296d4ebe53a13692c71
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Mon Jul 20 20:10:41 2020 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Jul 20 20:10:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eae1119

sys-cluster/ceph: Use RelWithDebInfo cmake build type (bug 733316)

Closes: https://bugs.gentoo.org/733316
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 sys-cluster/ceph/{ceph-14.2.10.ebuild => ceph-14.2.10-r1.ebuild} | 3 +++
 sys-cluster/ceph/{ceph-15.2.4.ebuild => ceph-15.2.4-r1.ebuild}   | 3 +++
 sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch       | 2 +-
 3 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/ceph/ceph-14.2.10.ebuild 
b/sys-cluster/ceph/ceph-14.2.10-r1.ebuild
similarity index 99%
rename from sys-cluster/ceph/ceph-14.2.10.ebuild
rename to sys-cluster/ceph/ceph-14.2.10-r1.ebuild
index f335155f0e1..a074166f6b2 100644
--- a/sys-cluster/ceph/ceph-14.2.10.ebuild
+++ b/sys-cluster/ceph/ceph-14.2.10-r1.ebuild
@@ -173,6 +173,9 @@ RESTRICT="test? ( userpriv )"
 # distribution tarball does not include everything needed for tests
 RESTRICT+=" test"
 
+# create a non-debug release
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 # false positives unless all USE flags are on
 CMAKE_WARN_UNUSED_CLI=no
 

diff --git a/sys-cluster/ceph/ceph-15.2.4.ebuild 
b/sys-cluster/ceph/ceph-15.2.4-r1.ebuild
similarity index 99%
rename from sys-cluster/ceph/ceph-15.2.4.ebuild
rename to sys-cluster/ceph/ceph-15.2.4-r1.ebuild
index dc446889a8f..78786763b46 100644
--- a/sys-cluster/ceph/ceph-15.2.4.ebuild
+++ b/sys-cluster/ceph/ceph-15.2.4-r1.ebuild
@@ -178,6 +178,9 @@ RESTRICT="test? ( userpriv )"
 # distribution tarball does not include everything needed for tests
 RESTRICT+=" test"
 
+# create a non-debug release
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
 # false positives unless all USE flags are on
 CMAKE_WARN_UNUSED_CLI=no
 

diff --git a/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch 
b/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch
index 59663028cfa..aaa6ee080a3 100644
--- a/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch
+++ b/sys-cluster/ceph/files/ceph-14.2.10-missing-includes.patch
@@ -7,7 +7,7 @@ index c4c24f6a75..b5631e8b84 100644
  #define CEPH_COMMON_BIT_STR_H
  
 +#include <cstdint>
-+#include <ostream>
++#include <iosfwd>
  #include <functional>
  
  namespace ceph {

Reply via email to