summaryrefslogtreecommitdiff
path: root/security/libsecret/files/patch-egg_egg-unix-credentials.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2025-06-11 10:36:52 +0200
committerBaptiste Daroussin <bapt@FreeBSD.org>2025-06-11 12:07:07 +0200
commit20ca91d08d9c9975fbc352a6f33b955d74b3ae50 (patch)
tree4feea0c4658e44b20b4d24ac89239125c46b4194 /security/libsecret/files/patch-egg_egg-unix-credentials.c
parentx11-wm/mutter: add missing patches (diff)
security/libsecret: add forgotten patch
Diffstat (limited to 'security/libsecret/files/patch-egg_egg-unix-credentials.c')
-rw-r--r--security/libsecret/files/patch-egg_egg-unix-credentials.c11
1 files changed, 11 insertions, 0 deletions
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