Merge pull request #26795 from veprbl/root_6.10.00

root: 6.09.02 -> 6.10.00
This commit is contained in:
Jörg Thalheim 2017-06-25 09:14:30 +01:00 committed by GitHub
commit ad42e5f6e5
2 changed files with 5 additions and 32 deletions

View File

@ -1,16 +1,3 @@
diff --git a/core/base/inc/ROOT/StringConv.hxx b/core/base/inc/ROOT/StringConv.hxx
index 629fc18..4efa54a 100644
--- a/core/base/inc/ROOT/StringConv.hxx
+++ b/core/base/inc/ROOT/StringConv.hxx
@@ -89,7 +89,7 @@ EFromHumanReadableSize FromHumanReadableSize(std::string_view str, T &value)
size_t size = str.size();
size_t cur;
// Parse leading numeric factor
- const double coeff = stod(str, &cur);
+ const double coeff = stod(static_cast<std::string>(str), &cur);
// Skip any intermediate white space
while (cur<size && isspace(str[cur])) ++cur;
diff --git a/core/metacling/src/TCling.cxx b/core/metacling/src/TCling.cxx diff --git a/core/metacling/src/TCling.cxx b/core/metacling/src/TCling.cxx
index d71cb74..076facb 100644 index d71cb74..076facb 100644
--- a/core/metacling/src/TCling.cxx --- a/core/metacling/src/TCling.cxx
@ -186,15 +173,3 @@ index 94a8b28..0b67867 100644
DataInfo(), "" ); DataInfo(), "" );
MethodBase *method = (dynamic_cast<MethodBase*>(im)); MethodBase *method = (dynamic_cast<MethodBase*>(im));
diff -aru a/core/base/inc/TString.h b/core/base/inc/TString.h
--- a/core/base/inc/TString.h
+++ b/core/base/inc/TString.h
@@ -106,7 +106,7 @@
char operator[](Ssiz_t i) const; // Index with bounds checking
operator std::string_view() const { return std::string_view(Data(),fExtent); }
- operator std::string() const { return std::string_view(Data(),fExtent).to_string(); }
+ operator std::string() const { return static_cast<std::string>(std::string_view(Data(),fExtent)); }
const char *Data() const;
Ssiz_t Length() const { return fExtent; }

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "root-${version}"; name = "root-${version}";
version = "6.09.02"; version = "6.10.00";
src = fetchurl { src = fetchurl {
url = "https://root.cern.ch/download/root_v${version}.source.tar.gz"; url = "https://root.cern.ch/download/root_v${version}.source.tar.gz";
sha256 = "0fc6b0l7bw66cyckxs4ikvyzcv1zlfx88205jx153smdhih0jj2k"; sha256 = "1rxqcpqf1b3sxig5xbh3mkvarhg9lgj2f0gv0j48klfw8kgfwlsp";
}; };
buildInputs = [ cmake pcre pkgconfig python2 zlib libxml2 lzma gsl ] buildInputs = [ cmake pcre pkgconfig python2 zlib libxml2 lzma gsl ]
@ -23,10 +23,6 @@ stdenv.mkDerivation rec {
./thisroot.patch ./thisroot.patch
# https://sft.its.cern.ch/jira/browse/ROOT-8728 # https://sft.its.cern.ch/jira/browse/ROOT-8728
(fetchpatch {
url = "https://sft.its.cern.ch/jira/secure/attachment/20025/0001-std-string_view-has-no-more-to_string.patch";
sha256 = "0ngyk960xfrcsj4vhr1ax8h85fx0g1cfycxi3k35a6ych2zmyg8q";
})
./ROOT-8728-extra.patch ./ROOT-8728-extra.patch
]; ];
@ -47,6 +43,7 @@ stdenv.mkDerivation rec {
"-Dfftw3=OFF" "-Dfftw3=OFF"
"-Dfitsio=OFF" "-Dfitsio=OFF"
"-Dfortran=OFF" "-Dfortran=OFF"
"-Dimt=OFF"
"-Dgfal=OFF" "-Dgfal=OFF"
"-Dgviz=OFF" "-Dgviz=OFF"
"-Dhdfs=OFF" "-Dhdfs=OFF"
@ -66,7 +63,8 @@ stdenv.mkDerivation rec {
"-Dxml=ON" "-Dxml=ON"
"-Dxrootd=OFF" "-Dxrootd=OFF"
] ]
++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.lib.getDev stdenv.cc.libc}/include"; ++ stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.lib.getDev stdenv.cc.libc}/include"
++ stdenv.lib.optional stdenv.isDarwin "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks";
enableParallelBuilding = true; enableParallelBuilding = true;