<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/9ada692f439b60e2a1b9ac20918e2bdf91d47a29">https://github.com/macports/macports-ports/commit/9ada692f439b60e2a1b9ac20918e2bdf91d47a29</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9ada692f439b60e2a1b9ac20918e2bdf91d47a29
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Mar 23 21:56:33 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> gnome-keyring: Fix implicit function declarations
</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/64880
</span>---
gnome/gnome-keyring/Portfile | 2 ++
gnome/gnome-keyring/files/implicit.patch | 15 +++++++++++++++
2 files changed, 17 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gnome-keyring/Portfile b/gnome/gnome-keyring/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a22eadb536d..c7a26027987 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gnome-keyring/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gnome-keyring/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,6 +36,8 @@ depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span> port:gcr \
port:libgcrypt
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # blacklist compilers that do not support C11 (redefinition of typedef 'GckSession' in daemon/login/gkd-login.h)
compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gnome-keyring/files/implicit.patch b/gnome/gnome-keyring/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..3cfad5df9b3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gnome-keyring/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pkcs11/xdg-store/mock-xdg-module.c:91:2: error: implicit declaration of function 'gettimeofday' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+pkcs11/xdg-store/mock-xdg-module.c:95:6: error: implicit declaration of function 'utimes' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pkcs11/xdg-store/mock-xdg-module.c.orig 2018-06-24 23:15:03.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pkcs11/xdg-store/mock-xdg-module.c 2022-03-23 21:25:58.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -36,7 +36,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <glib/gstdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#include <sys/times.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <sys/time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <string.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>