<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/a59545fb06d0609141f98b07f69fd516e7706af1">https://github.com/macports/macports-ports/commit/a59545fb06d0609141f98b07f69fd516e7706af1</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 a59545fb06d libinfinity: Update to 0.7.2
</span>a59545fb06d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a59545fb06d0609141f98b07f69fd516e7706af1
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Aug 1 15:26:22 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> libinfinity: Update to 0.7.2
</span>---
comms/libinfinity/Portfile | 39 ++++++++++------------
comms/libinfinity/files/implicit.patch | 15 +++++++++
.../files/patch-infinoted-infinoted-pam.c.diff | 18 +++++-----
3 files changed, 43 insertions(+), 29 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/libinfinity/Portfile b/comms/libinfinity/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e194c2cb5af..a6c0b01a2f3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/comms/libinfinity/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/libinfinity/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,49 +1,46 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup gobject_introspection 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup gobby libinfinity 0.7.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 ca6bd1a7b4c1cac48c184fc0b44015bbba7a4159 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 6e7029375a81c5e3dbcdf23b69402d220b124ac83e349f07fd37fd0e8379239e \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2069487
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name libinfinity
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 0.5.4
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span> categories comms
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license LGPL-2+
maintainers nomaintainer
description libinfinity is an implementation of the Infinote protocol written in GObject-based C.
long_description ${description}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://gobby.0x539.de/trac/wiki/Infinote/Libinfinity
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites http://releases.0x539.de/libinfinity/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ releases
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 c36895b04fc5be315f4f110438d14bcde2fbfb69 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 04004fc1097e0e45945180f844b1f7cef62db18390d752c8abca78253192f6c4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+gobject_introspection \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ yes
</span>
depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/gtk+-3.0.pc:gtk3 \
</span> port:libxml2 \
path:lib/pkgconfig/gnutls.pc:gnutls \
port:libgsasl \
port:libdaemon
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --with-libdaemon \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-avahi \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-gtk3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles implicit.patch
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# libinfinity doesn't build with clang because some functions use g_return_if_fail() where they should use g_return_val_if_fail()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[string match *clang* ${configure.compiler}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append -Wno-return-type
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args --disable-silent-rules \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-libdaemon \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-avahi
</span>
# /usr/bin/ranlib: library member: libinftestutil.a(libinfinity-0.5.la) is not an object file (not allowed in a library with multiple architectures)
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${os.platform} eq "darwin" && ${os.major} >= 10} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} < 10} {
</span> patchfiles-append patch-infinoted-infinoted-pam.c.diff
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${master_sites}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/libinfinity/files/implicit.patch b/comms/libinfinity/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e50ebde397a
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/libinfinity/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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://github.com/gobby/libinfinity/pull/32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2020-12-11 15:11:01.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2023-08-01 15:11:37.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -14099,6 +14099,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $as_echo_n "checking for O_NOFOLLOW... " >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <fcntl.h>
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff b/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index edab656ceec..b4b4b80f932 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,15 +1,17 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-OS X uses security/ instead of pam/ as of Snow Leopard
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- infinoted/infinoted-pam.c.orig 2011-07-17 04:17:04.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ infinoted/infinoted-pam.c 2011-11-02 22:09:29.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -26,11 +26,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix pam_appl.h include path for Leopard and earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Include this patch only on Leopard or earlier.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Reverts https://github.com/gobby/libinfinity/commit/7921fd451db3cce7fd962080bbedc7b8648be4e9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- infinoted/infinoted-pam.c.orig 2020-12-11 15:05:36.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ infinoted/infinoted-pam.c 2023-08-01 14:51:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -26,7 +26,11 @@
</span> #ifdef LIBINFINITY_HAVE_PAM
#include <infinoted/infinoted-pam.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>--#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#include <pam/pam_appl.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <pam/pam_appl.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#else
</span> #include <security/pam_appl.h>
<span style='display:block; white-space:pre;background:#ffe0e0;'>--#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span> #include <sys/types.h>
#include <grp.h>
#include <pwd.h>
</pre><pre style='margin:0'>
</pre>