git: cc83ec0f744f - main - shells/bash: Fix build with NLS disabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 01 Oct 2022 03:46:04 UTC
The branch main has been updated by adamw:
URL: https://cgit.FreeBSD.org/ports/commit/?id=cc83ec0f744fb159bd48303d15c09aa0c6cb38a4
commit cc83ec0f744fb159bd48303d15c09aa0c6cb38a4
Author: Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2022-10-01 03:45:48 +0000
Commit: Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2022-10-01 03:45:59 +0000
shells/bash: Fix build with NLS disabled
---
shells/bash/files/patch-examples_loadables_getconf.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/shells/bash/files/patch-examples_loadables_getconf.c b/shells/bash/files/patch-examples_loadables_getconf.c
new file mode 100644
index 000000000000..48d14a055ede
--- /dev/null
+++ b/shells/bash/files/patch-examples_loadables_getconf.c
@@ -0,0 +1,11 @@
+--- examples/loadables/getconf.c.orig 2022-10-01 03:42:16 UTC
++++ examples/loadables/getconf.c
+@@ -21,7 +21,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <error.h>
+-#include <libintl.h>
++#include <gettext.h>
+ #include <locale.h>
+ #include <string.h>
+ #include <stdlib.h>