1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 16:27:07 +00:00
termux-packages/packages/bash/examples-loadables-getconf.c.patch
2022-10-06 21:38:46 +01:00

15 lines
507 B
Diff

diff -uNr bash-5.2/examples/loadables/getconf.c bash-5.2.mod/examples/loadables/getconf.c
--- bash-5.2/examples/loadables/getconf.c 2021-12-03 16:46:22.000000000 +0000
+++ bash-5.2.mod/examples/loadables/getconf.c 2022-10-06 20:53:54.002071000 +0100
@@ -489,8 +489,10 @@
{ "POSIX2_UPE", _SC_2_UPE, SYSCONF },
{ "POSIX2_VERSION", _SC_2_VERSION, SYSCONF },
+#ifdef _CS_PATH
{ "PATH", _CS_PATH, CONFSTR },
{ "CS_PATH", _CS_PATH, CONFSTR },
+#endif
/* LFS */
#ifdef _CS_LFS_CFLAGS