Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 01:52:42 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8386809c446a - main - math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT
Message-ID:  <202404160152.43G1qgho068903@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c

commit 8386809c446ad21eb5d7d4c371ac1a7a3ee14b9c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-16 00:19:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-16 01:52:34 +0000

    math/the-algorithms-c++: Add workaround for compilation failure on 15-CURRENT
    
    Reported by:    fallout
---
 .../files/patch-data__structures_queue__using__array2.cpp   | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404160152.43G1qgho068903>