picolisp: Update from 16.2.11 to 16.3.1
[termux-packages] / packages / picolisp / src-ext.c.patch
1 The crypt(3) function is not available in Android, so remove support
2 in ext for now.
3
4 diff -u -r ../picoLisp/src/ext.c ./src/ext.c
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 }
10
11 +#ifndef __ANDROID__
12 /*** Password hashing ***/
13 // (ext:Crypt 'key 'salt) -> str
14 any Crypt(any x) {
15 @@ -269,3 +270,4 @@
16 }
17 }
18 }
19 +#endif