You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-libs/cctbx/files/2010.03.29.2334-gcc-4.6.patch

30 lines
1.0 KiB

cctbx_sources/scitbx/array_family/detail/misc.h | 1 +
.../scitbx/fortran_io/details/istream_scanner.h | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/cctbx_sources/scitbx/array_family/detail/misc.h b/cctbx_sources/scitbx/array_family/detail/misc.h
index 6ed881e..d7f7f52 100644
--- a/cctbx_sources/scitbx/array_family/detail/misc.h
+++ b/cctbx_sources/scitbx/array_family/detail/misc.h
@@ -2,6 +2,7 @@
#define SCITBX_ARRAY_FAMILY_MISC_H
#include <scitbx/array_family/type_traits.h>
+#include <memory>
namespace scitbx { namespace af {
diff --git a/cctbx_sources/scitbx/fortran_io/details/istream_scanner.h b/cctbx_sources/scitbx/fortran_io/details/istream_scanner.h
index 8a0ac25..03a0e20 100644
--- a/cctbx_sources/scitbx/fortran_io/details/istream_scanner.h
+++ b/cctbx_sources/scitbx/fortran_io/details/istream_scanner.h
@@ -32,7 +32,7 @@ class istream_scanner
}
private:
- mutable std::basic_istream<CharType> &input;
+ std::basic_istream<CharType> &input;
mutable value_t current;
};