mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 00:27:08 +00:00
busybox: Fix building without <crypt.h>
This commit is contained in:
parent
7634072451
commit
2dcd95485a
14
packages/busybox/libbb-pw_encrypt.c.patch
Normal file
14
packages/busybox/libbb-pw_encrypt.c.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff -u -r ../busybox-1.29.1/libbb/pw_encrypt.c ./libbb/pw_encrypt.c
|
||||
--- ../busybox-1.29.1/libbb/pw_encrypt.c 2018-07-02 11:23:06.000000000 +0000
|
||||
+++ ./libbb/pw_encrypt.c 2018-07-22 23:43:48.620188017 +0000
|
||||
@@ -6,7 +6,9 @@
|
||||
*
|
||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||
*/
|
||||
-#include <crypt.h>
|
||||
+#if !ENABLE_USE_BB_CRYPT
|
||||
+# include <crypt.h>
|
||||
+#endif
|
||||
#include "libbb.h"
|
||||
|
||||
/* static const uint8_t ascii64[] ALIGN1 =
|
Loading…
Reference in New Issue
Block a user