diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile index 10c72f587577..43d6825802cd 100644 --- a/security/libsecret/Makefile +++ b/security/libsecret/Makefile @@ -1,27 +1,28 @@ PORTNAME= libsecret PORTVERSION= 0.21.7 +PORTREVISION= 1 CATEGORIES= security gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome MAINTAINER= gnome@FreeBSD.org COMMENT= Library to access the secret service API WWW= https://gitlab.gnome.org/GNOME/libsecret LICENSE= APACHE20 GPLv2+ LGPL21+ LICENSE_COMB= multi BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLAVOR} \ docbook-xsl>=0:textproc/docbook-xsl LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error USES= compiler gettext gnome meson pkgconfig python tar:xz vala:build USE_GNOME= glib20 introspection:build libxslt:build MESON_ARGS= -Dbash_completion=disabled # see PR 287429 / https://gitlab.gnome.org/GNOME/libsecret/-/issues/106 MESON_ARGS+= -Dc_args="-DHAVE_CMSGCRED" .include diff --git a/security/libsecret/files/patch-egg_egg-unix-credentials.c b/security/libsecret/files/patch-egg_egg-unix-credentials.c new file mode 100644 index 000000000000..8afe454939b8 --- /dev/null +++ b/security/libsecret/files/patch-egg_egg-unix-credentials.c @@ -0,0 +1,11 @@ +--- egg/egg-unix-credentials.c.orig 2024-02-23 09:53:23 UTC ++++ egg/egg-unix-credentials.c +@@ -230,7 +230,7 @@ egg_unix_credentials_setup (int sock) + #if defined(LOCAL_CREDS) && !defined(HAVE_CMSGCRED) + int val = 1; + if (setsockopt (sock, 0, LOCAL_CREDS, &val, sizeof (val)) < 0) { +- fprintf (stderr, "unable to set LOCAL_CREDS socket option on fd %d\n", fd); ++ fprintf (stderr, "unable to set LOCAL_CREDS socket option\n"); + retval = -1; + } + #endif