diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-11 10:37:57 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-11 10:37:57 +0100 |
commit | 0b8c99da2b9c4eff53a33240b8c9f6db6dcba3db (patch) | |
tree | ec65222e960955380a3947019766a4db63f18a5f /sci-chemistry/cluster/files | |
parent | f8d2edf76d3901ebc1ace32c33a4d547fd5eee63 (diff) |
gentoo auto-resync : 11:09:2023 - 10:37:57
Diffstat (limited to 'sci-chemistry/cluster/files')
-rw-r--r-- | sci-chemistry/cluster/files/1.3.081231-drop-registers.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-chemistry/cluster/files/1.3.081231-drop-registers.patch b/sci-chemistry/cluster/files/1.3.081231-drop-registers.patch new file mode 100644 index 000000000000..c00922591faa --- /dev/null +++ b/sci-chemistry/cluster/files/1.3.081231-drop-registers.patch @@ -0,0 +1,23 @@ +Bug: https://bugs.gentoo.org/898132 +--- a/utility.cpp ++++ b/utility.cpp +@@ -107,8 +107,8 @@ int compArgStr(const char *str, const char *arg, int min) { + } + + int parseInteger(const char *str, int start, int len) { +- register int value = 0; +- register char ch; ++ int value = 0; ++ char ch; + int neg = 0, inside = 0; + + if (!str || start < 0) { return 0; } +@@ -136,7 +136,7 @@ int parseInteger(const char *str, int start, int len) { + double parseReal(const char *str, int start, int len) { + double value = 0.0, scale = 1.0, expscale = 1.0, expfact = 10.0; + int expval = 0; +- register char ch; ++ char ch; + int inside = 0, infract = 0, inexp = 0, insn = 0, esn = 0; + + if (!str || start < 0) { return 0; } |