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-electronics/splat/files | |
parent | f8d2edf76d3901ebc1ace32c33a4d547fd5eee63 (diff) |
gentoo auto-resync : 11:09:2023 - 10:37:57
Diffstat (limited to 'sci-electronics/splat/files')
-rw-r--r-- | sci-electronics/splat/files/splat-1.4.2-drop-register-keyword.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/sci-electronics/splat/files/splat-1.4.2-drop-register-keyword.patch b/sci-electronics/splat/files/splat-1.4.2-drop-register-keyword.patch new file mode 100644 index 000000000000..4445b06f2057 --- /dev/null +++ b/sci-electronics/splat/files/splat-1.4.2-drop-register-keyword.patch @@ -0,0 +1,22 @@ +Register keyword was deprecated in C++14 and removed in C++17 +Bug: https://bugs.gentoo.org/898168 +--- a/splat.cpp ++++ b/splat.cpp +@@ -567,7 +567,7 @@ double ElevationAngle(struct site source, struct site destination) + (downtilt), as referenced to a normal to the center of + the earth. */ + +- register double a, b, dx; ++ double a, b, dx; + + a=GetElevation(destination)+destination.alt+earthradius; + b=GetElevation(source)+source.alt+earthradius; +@@ -2727,7 +2727,7 @@ void PlotPath(struct site source, struct site destination, char mask_value) + + char block; + int x, y; +- register double cos_xmtr_angle, cos_test_angle, test_alt; ++ double cos_xmtr_angle, cos_test_angle, test_alt; + double distance, rx_alt, tx_alt; + + ReadPath(source,destination); |