diff options
Diffstat (limited to 'main/p11-kit/strerror_l.patch')
-rw-r--r-- | main/p11-kit/strerror_l.patch | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/main/p11-kit/strerror_l.patch b/main/p11-kit/strerror_l.patch deleted file mode 100644 index bb9ab581ca..0000000000 --- a/main/p11-kit/strerror_l.patch +++ /dev/null @@ -1,14 +0,0 @@ -reported upstream: -https://github.com/p11-glue/p11-kit/issues/147 - ---- ./common/message.c.orig -+++ ./common/message.c -@@ -118,7 +118,7 @@ - buffer[length] = 0; - - snprintf (strerr, sizeof (strerr), "Unknown error %d", errnum); --#ifdef HAVE_STRERROR_L -+#if defined(HAVE_STRERROR_L) && defined(__GLIBC__) - loc = uselocale ((locale_t) 0); - if (loc != NULL) - strncpy (strerr, strerror_l (errnum, loc), sizeof (strerr)); |