security/libsecret: add forgotten patch

This commit is contained in:
Baptiste Daroussin
2025-06-11 10:36:52 +02:00
parent e30960f177
commit 20ca91d08d
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -1,5 +1,6 @@
PORTNAME= libsecret
PORTVERSION= 0.21.7
PORTREVISION= 1
CATEGORIES= security gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
@@ -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