summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libsecret/Makefile1
-rw-r--r--security/libsecret/files/patch-egg_egg-unix-credentials.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile
index 10c72f587577..43d6825802cd 100644
--- a/security/libsecret/Makefile
+++ b/security/libsecret/Makefile
@@ -1,5 +1,6 @@
PORTNAME= libsecret
PORTVERSION= 0.21.7
+PORTREVISION= 1
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
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