diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-07-31 10:44:36 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-07-31 10:44:36 +0100 |
commit | 53aea9d709c9286028405b25584181507f47442f (patch) | |
tree | e7b1ada98149b1cc40791b5bb7616d133d80d46c /games-strategy/seven-kingdoms/files | |
parent | 358368569cfce7dc6be9a6faed29805babe0e371 (diff) |
gentoo auto-resync : 31:07:2023 - 10:44:36
Diffstat (limited to 'games-strategy/seven-kingdoms/files')
-rw-r--r-- | games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.5-c++17.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.5-c++17.patch b/games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.5-c++17.patch new file mode 100644 index 000000000000..5f8e8dd7bb6d --- /dev/null +++ b/games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.5-c++17.patch @@ -0,0 +1,23 @@ +Bug: https://bugs.gentoo.org/895996 +--- a/src/OMISC.cpp ++++ b/src/OMISC.cpp +@@ -608,7 +608,7 @@ int Misc::str_icmpx( const char* str1, const char* str2 ) + err_when( !str1 || !str2 ); + + int i; +- register int a,b; ++ int a,b; + + + for (i=0 ; (a=str1[i]) != '\0' && (b=str2[i]) != '\0' ; i++) +--- a/src/OSPATHBT.cpp ++++ b/src/OSPATHBT.cpp +@@ -50,7 +50,7 @@ void NodePriorityQueue::reset_priority_queue() + void NodePriorityQueue::insert_node(Node *insertNode) + { + unsigned int i = ++size; +- register int f=insertNode->node_f; ++ int f=insertNode->node_f; + Node **localElements = elements; + + while(i>1 && localElements[i/2]->node_f > f) |