diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /app-editors/fte/files/fte-cpp14.patch | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'app-editors/fte/files/fte-cpp14.patch')
-rw-r--r-- | app-editors/fte/files/fte-cpp14.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/app-editors/fte/files/fte-cpp14.patch b/app-editors/fte/files/fte-cpp14.patch deleted file mode 100644 index bea83b6a5ccd..000000000000 --- a/app-editors/fte/files/fte-cpp14.patch +++ /dev/null @@ -1,17 +0,0 @@ -Fix C++14 compilation errors. Add casting int literals to char in config -generator to avoid narrowing conversions. -Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=595048 - ---- a/src/mkdefcfg.pl -+++ b/src/mkdefcfg.pl -@@ -24,8 +24,8 @@ - - @c = split(//, $buf); - for ($i = 0; $i < $len; $i++) { -- $out .= sprintf("0x%02X", ord($c[$i])); -- if ($n++ % 10) { -+ $out .= sprintf("(char)0x%02X", ord($c[$i])); -+ if ($n++ % 5) { - $out .= ", "; - } else { - $out .= ",\n"; |