<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/e4dcb13d7a4a57ce7279dec815e3d9fc9093a83e">https://github.com/macports/macports-ports/commit/e4dcb13d7a4a57ce7279dec815e3d9fc9093a83e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit e4dcb13d7a4a57ce7279dec815e3d9fc9093a83e
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Mar 19 22:33:54 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> xbill: Fix implicit declaration of functions
</span>---
games/xbill/Portfile | 3 ++-
games/xbill/files/implicit.patch | 12 ++++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/xbill/Portfile b/games/xbill/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a5636f430bf..c80f6996be9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/games/xbill/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/xbill/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,7 +27,8 @@ master_sites ${homepage}download/
</span>
depends_lib port:xorg-libXaw
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles Makefile.in.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Makefile.in.patch
</span>
configure.env X_PRE_LIBS=-lXpm
configure.args --mandir=${prefix}/share/man \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/games/xbill/files/implicit.patch b/games/xbill/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..b858cb26ab9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/games/xbill/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;'>+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 2001-10-16 22:16:48.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-03-19 22:20:58.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2159,6 +2159,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #line 2160 "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>