aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2022-10-01 03:45:48 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2022-10-01 03:45:59 +0000
commitcc83ec0f744fb159bd48303d15c09aa0c6cb38a4 (patch)
tree1e79173a5417a4b86a8d1af192ec426335825c2b /shells
parent3aed9fad0359e3b7648d88973b3294ee7c5d5543 (diff)
downloadports-cc83ec0f744fb159bd48303d15c09aa0c6cb38a4.tar.gz
ports-cc83ec0f744fb159bd48303d15c09aa0c6cb38a4.zip
shells/bash: Fix build with NLS disabled
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/files/patch-examples_loadables_getconf.c11
1 files changed, 11 insertions, 0 deletions
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>