diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 19:55:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-11 19:55:43 +0100 |
commit | 185fa19bbf68a4d4dca534d2b46729207a177f16 (patch) | |
tree | a8a537b82fda83a0799c2ca9887f212558363aa7 /dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch | |
parent | c8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (diff) |
gentoo resync : 11.05.2021
Diffstat (limited to 'dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch')
-rw-r--r-- | dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch b/dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch new file mode 100644 index 000000000000..d8fb34886420 --- /dev/null +++ b/dev-libs/cxxtools/files/cxxtools-3.0_gcc11.patch @@ -0,0 +1,23 @@ +compilefix gcc 11 + +based on compile fix from upstream +https://www.gitmemory.com/issue/maekitalo/cxxtools/30/770247974 + +Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org> (09 May 2021) +diff -Naur cxxtools-3.0.orig/include/cxxtools/char.h cxxtools-3.0/include/cxxtools/char.h +--- cxxtools-3.0.orig/include/cxxtools/char.h 2021-05-09 18:32:41.415653108 +0200 ++++ cxxtools-3.0/include/cxxtools/char.h 2021-05-09 18:33:56.117653108 +0200 +@@ -68,9 +68,10 @@ + typedef int32_t value_type; + + //! Constructs a character with a value of 0. +- Char() +- : _value(0) +- {} ++// Char() ++// : _value(0) ++// {} ++ Char() = default; + + //! Constructs a character using the given value as base for the character value. + Char(value_type ch) |