<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/448a3c6a20e5d3163399155d3e9bc736552ad841">https://github.com/macports/macports-ports/commit/448a3c6a20e5d3163399155d3e9bc736552ad841</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 448a3c6a20e texmaker: Fix implicit declaration of functions
</span>448a3c6a20e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 448a3c6a20e5d3163399155d3e9bc736552ad841
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jul 12 15:56:30 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> texmaker: Fix implicit declaration of functions
</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/67599
</span>---
tex/texmaker/Portfile | 2 ++
tex/texmaker/files/implicit.patch | 18 ++++++++++++++++++
2 files changed, 20 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/tex/texmaker/Portfile b/tex/texmaker/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index af9a31b6b8f..d1c79fe1950 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/tex/texmaker/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/tex/texmaker/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -32,6 +32,8 @@ qt5.depends_component \
</span> depends_run port:ghostscript \
port:texlive
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
copy ${worksrcpath}/${name}.app ${destroot}${applications_dir}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/tex/texmaker/files/implicit.patch b/tex/texmaker/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7bc38d0d2c5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/tex/texmaker/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</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: call to undeclared function 'lseek'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This is fixed in texmaker 5.1.4.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- texmaker.pro 2022-04-28 00:30:02.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ texmaker.pro 2023-04-30 07:59:36.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1148,6 +1148,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEFINES += PREFIX=\\\"$${PREFIX}\\\"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEFINES +=_FX_CPU_=_FX_X64_
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++DEFINES += HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INCLUDEPATH +=$${QTDIR}/include/
</span></pre><pre style='margin:0'>
</pre>