<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/888efefd199e406718937ce134e0a425a212fc72">https://github.com/macports/macports-ports/commit/888efefd199e406718937ce134e0a425a212fc72</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 888efefd199e406718937ce134e0a425a212fc72
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Mar 4 04:41:15 2022 -0600
<span style='display:block; white-space:pre;color:#404040;'> xplot: Fix implicit declaration of function
</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/64752
</span>---
math/xplot/Portfile | 5 +++--
math/xplot/files/implicit.patch | 12 ++++++++++++
2 files changed, 15 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/xplot/Portfile b/math/xplot/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 42b8b316cf0..330ca918b68 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/xplot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/xplot/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,17 +3,18 @@ PortSystem 1.0
</span> name xplot
version 0.90.7.1
categories math science
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license BSD-old
maintainers nomaintainer
homepage http://www.xplot.org/
master_sites http://www.xplot.org/xplot/
checksums md5 755e32f8ae429f1c546fdeee7c28c92e
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-Makefile.in
</span> description xplot was written in the late 1980s to support the analysis of TCP packet traces.
long_description ${description}
depends_lib port:xorg-libX11
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-Makefile.in \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --x-includes=${prefix}/include \
--x-libraries=${prefix}/lib
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/xplot/files/implicit.patch b/math/xplot/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..ab07832370a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/xplot/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure:1959:67: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2000-05-04 16:04:15.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-03-04 04:35:17.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1952,6 +1952,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #line 1953 "configure"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "confdefs.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
</span></pre><pre style='margin:0'>
</pre>