diff options
Diffstat (limited to 'repos/clang/gperf/gperf-3.1-clang-16-wregister.patch')
| -rw-r--r-- | repos/clang/gperf/gperf-3.1-clang-16-wregister.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/repos/clang/gperf/gperf-3.1-clang-16-wregister.patch b/repos/clang/gperf/gperf-3.1-clang-16-wregister.patch deleted file mode 100644 index 4bbcca6d..00000000 --- a/repos/clang/gperf/gperf-3.1-clang-16-wregister.patch +++ /dev/null @@ -1,21 +0,0 @@ -https://bugs.gentoo.org/882787 -https://git.savannah.gnu.org/gitweb/?p=gperf.git;a=commit;h=a63b830554920476881837eeacd4a6b507632b19 - -From a63b830554920476881837eeacd4a6b507632b19 Mon Sep 17 00:00:00 2001 -From: Bruno Haible <bruno@clisp.org> -Date: Sun, 30 Aug 2020 12:36:15 +0200 -Subject: [PATCH] Make the code C++17 compliant. - -* lib/getline.cc (getstr): Don't use the 'register' keyword. - ---- a/lib/getline.cc -+++ b/lib/getline.cc -@@ -55,7 +55,7 @@ getstr (char **lineptr, size_t *n, FILE *stream, char terminator, size_t offset) - - for (;;) - { -- register int c = getc (stream); -+ int c = getc (stream); - - /* We always want at least one char left in the buffer, since we - always (unless we get an error while reading the first char) |