<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/80d3dcac293a2a80c1a503c9a8f6e231ffd98001">https://github.com/macports/macports-ports/commit/80d3dcac293a2a80c1a503c9a8f6e231ffd98001</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 80d3dcac293 tix: Fix implicit declaration of functions
</span>80d3dcac293 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 80d3dcac293a2a80c1a503c9a8f6e231ffd98001
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 25 18:40:53 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> tix: 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/61891
</span>---
x11/tix/Portfile | 3 ++-
x11/tix/files/implicit.patch | 51 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tix/Portfile b/x11/tix/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ec1889f4369..cb429c421b1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/tix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tix/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -34,7 +34,8 @@ depends_lib port:tcl \
</span> port:tk
patchfiles patch-generic-tixGrSort.c.diff \
patch-tk_x11.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-dyld_variable.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-dyld_variable.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span>
configure.args --mandir=${prefix}/share/man \
--with-tcl=${prefix}/lib \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/tix/files/implicit.patch b/x11/tix/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3b7ada45889
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/tix/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,51 @@
</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: 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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'isspace' with type 'int (int)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicit declaration of function 'panic' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2020-12-25 18:21:05.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2020-12-25 18:23:26.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3470,8 +3470,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for (i = 0; i < 256; i++)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (XOR (islower (i), ISLOWER (i))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ || toupper (i) != TOUPPER (i))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit(2);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- exit (0);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 2;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ return 0;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ _ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f conftest$ac_exeext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- generic/tixGrUtl.c.orig 2004-03-27 20:44:56.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ generic/tixGrUtl.c 2020-12-25 18:28:52.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13,6 +13,7 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <tixPort.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <tixInt.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <tixDef.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- generic/tixImgXpm.c.orig 2008-02-27 22:05:29.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ generic/tixImgXpm.c 2020-12-25 18:38:10.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -13,6 +13,7 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <tixPort.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <tixInt.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <tixImgXpm.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- generic/tixPort.h.orig 2020-12-25 18:27:26.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ generic/tixPort.h 2020-12-25 18:36:25.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -60,6 +60,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++EXTERN void panic(char * format, ...);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ EXTERN Tcl_HashTable * TixGetHashTable _ANSI_ARGS_((Tcl_Interp * interp,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ char * name, Tcl_InterpDeleteProc *deleteProc,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ int keyType));
</span></pre><pre style='margin:0'>
</pre>