kumquat-buildroot/package/procps-ng/0002-escape-c-Fix-missing-nl_langinfo-on-certain-configs.patch
Fabrice Fontaine cc28c7aa6d package/procps-ng: bump to version 3.3.17
- Update indentation in hash file (two spaces)
- Disable w on musl to avoid a build failure:
  https://gitlab.com/procps-ng/procps/-/issues/193

https://gitlab.com/procps-ng/procps/-/blob/v3.3.17/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-27 20:59:19 +01:00

35 lines
983 B
Diff

From 2763b9880a7aab569694d6ee3170dd7341a26b84 Mon Sep 17 00:00:00 2001
From: "Issam E. Maghni" <issam.e.maghni@mailbox.org>
Date: Fri, 23 Apr 2021 16:53:39 -0400
Subject: [PATCH] escape.c: Fix missing nl_langinfo on certain configs
[Retrieved from:
https://gitlab.com/procps-ng/procps/-/commit/2763b9880a7aab569694d6ee3170dd7341a26b84]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
proc/escape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proc/escape.c b/proc/escape.c
index 2e8fb7dd..cf4a80de 100644
--- a/proc/escape.c
+++ b/proc/escape.c
@@ -24,13 +24,13 @@
#include "procps.h"
#include "escape.h"
#include "readproc.h"
+#include "nls.h"
#if (__GNU_LIBRARY__ >= 6) && (!defined(__UCLIBC__) || defined(__UCLIBC_HAS_WCHAR__))
# include <wchar.h>
# include <wctype.h>
# include <stdlib.h> /* MB_CUR_MAX */
# include <ctype.h>
-# include <langinfo.h>
#endif
#define SECURE_ESCAPE_ARGS(dst, bytes, cells) do { \
--
GitLab