diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-16 00:19:26 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-16 01:52:34 +0000 |
commit | 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c (patch) | |
tree | c92c6e523668a445083f552aeba749f28e930397 | |
parent | c23152106f74c78a5c0c05e71a7a22ce34387968 (diff) | |
download | ports-8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c.tar.gz ports-8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c.zip |
math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT
Reported by: fallout
-rw-r--r-- | math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp b/math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp new file mode 100644 index 000000000000..348109bea1af --- /dev/null +++ b/math/the-algorithms-c++/files/patch-data__structures_queue__using__array2.cpp @@ -0,0 +1,13 @@ +- workaround for https://github.com/TheAlgorithms/C-Plus-Plus/issues/2690 + +--- data_structures/queue_using_array2.cpp.orig 2024-04-15 23:52:35 UTC ++++ data_structures/queue_using_array2.cpp +@@ -1,6 +1,8 @@ using namespace std; + #include <iostream> + using namespace std; + ++#define queue queue_ ++ + int queue[10]; + int front = 0; + int rear = 0; |