<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/67f2a0bc34eabbf96a436da8bc77d98e93d3efc5">https://github.com/macports/macports-ports/commit/67f2a0bc34eabbf96a436da8bc77d98e93d3efc5</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 67f2a0bc34e py-notify-python: Fix implicit function decls
</span>67f2a0bc34e is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 67f2a0bc34eabbf96a436da8bc77d98e93d3efc5
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Thu Dec 17 08:53:13 2020 -0600

<span style='display:block; white-space:pre;color:#404040;'>    py-notify-python: Fix implicit function decls
</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/61841
</span>---
 python/py-notify-python/Portfile             |  5 +++--
 python/py-notify-python/files/implicit.patch | 32 ++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-notify-python/Portfile b/python/py-notify-python/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index b03608fdc73..3ac1077af2d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-notify-python/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-notify-python/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,14 +52,15 @@ if {${name} ne ${subport}} {
</span>     build.type          gnu
     build.cmd           make
     build.target        all
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    build.args          {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    build.args
</span> 
     destroot.cmd        ${build.cmd}
     destroot.target     install
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    destroot.args       {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    destroot.args
</span>     destroot.destdir    DESTDIR=${destroot}
 
     patchfiles          patch-src-pynotifymodule-c.diff \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+                        implicit.patch \
</span>                         libnotify07.patch
                    
     configure.python    ${python.bin}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-notify-python/files/implicit.patch b/python/py-notify-python/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e0c2137144b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-notify-python/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,32 @@
</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: implicit declaration of function 'pypynotify_register_classes' is invalid in C99 [-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 'pypynotify_add_constants' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2006-10-08 13:04:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure      2020-12-17 08:45:55.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -4242,8 +4242,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;'>+--- src/pynotifymodule.c.orig      2020-12-17 08:47:20.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/pynotifymodule.c   2020-12-17 08:50:26.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -3,7 +3,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <pygtk/pygtk.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <libnotify/notify.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-void pynotify_register_classes(PyObject *d);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void pypynotify_add_constants(PyObject *module, const gchar *strip_prefix);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++void pypynotify_register_classes(PyObject *d);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extern PyMethodDef pypynotify_functions[];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DL_EXPORT(void)
</span></pre><pre style='margin:0'>

</pre>