picolisp: Update from 16.2.11 to 16.3.1
[termux-packages] / packages / picolisp / src-ext.c.patch
CommitLineData
72dd9a3b
FF
1The crypt(3) function is not available in Android, so remove support
2in ext for now.
3
4diff -u -r ../picoLisp/src/ext.c ./src/ext.c
89f5e911
FF
5--- ../picoLisp/src/ext.c 2015-11-27 02:25:22.000000000 -0500
6+++ ./src/ext.c 2016-02-08 06:19:58.405969024 -0500
7@@ -250,6 +250,7 @@
8 return T;
9 }
72dd9a3b 10
72dd9a3b 11+#ifndef __ANDROID__
89f5e911
FF
12 /*** Password hashing ***/
13 // (ext:Crypt 'key 'salt) -> str
72dd9a3b 14 any Crypt(any x) {
72dd9a3b
FF
15@@ -269,3 +270,4 @@
16 }
17 }
18 }
19+#endif