diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-15 17:19:26 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2024-04-15 18:52:34 -0700 |
commit | 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c (patch) | |
tree | c92c6e523668a445083f552aeba749f28e930397 /math | |
parent | textproc/py-pygccxml: update 2.4.0 → 2.5.0 (diff) |
math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT
Reported by: fallout
Diffstat (limited to 'math')
-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; |