<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/06e9c922a941ae8c3f1dd77c688f901d5cf1855c">https://github.com/macports/macports-ports/commit/06e9c922a941ae8c3f1dd77c688f901d5cf1855c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 06e9c922a94 cgdb: Fix implicit int issue in configure script
</span>06e9c922a94 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 06e9c922a941ae8c3f1dd77c688f901d5cf1855c
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Sun Aug 11 11:14:29 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> cgdb: Fix implicit int issue in configure script
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/70530
</span>---
devel/cgdb/Portfile | 4 +++-
devel/cgdb/files/implicit-int.patch | 16 ++++++++++++++++
2 files changed, 19 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cgdb/Portfile b/devel/cgdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index af616e05719..e9e2cd517e0 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cgdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cgdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,8 @@ depends_build-append \
</span> port:texinfo
depends_lib port:ncurses port:readline
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit-int.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 2011
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,4 +38,4 @@ configure.args --infodir=${prefix}/share/info \
</span> --mandir=${prefix}/share/man
livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "${name}-(\\d+(?:\\.\\d+)+)${extract.suffix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}-(\\d+(?:\\.\\d+)+)[quotemeta ${extract.suffix}]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cgdb/files/implicit-int.patch b/devel/cgdb/files/implicit-int.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9845a50631c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cgdb/files/implicit-int.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/cgdb/cgdb/issues/357
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-01-16 09:43:35.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2024-08-11 11:08:43.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6512,7 +6512,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <readline/readline.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-main()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++int main(void)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ FILE *fp;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fp = fopen("conftest.rlv", "w");
</span></pre><pre style='margin:0'>
</pre>