lighttpd: Update from 1.4.35 to 1.4.38
[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-04-27 00:34:17.000000000 -0400
6 +++ ./src/ext.c 2015-11-27 06:07:18.767005597 -0500
7 @@ -252,6 +252,7 @@
8
9 /*** Password hashing ***/
10 // (Ext:Crypt 'key 'salt) -> str
11 +#ifndef __ANDROID__
12 any Crypt(any x) {
13 any y;
14
15 @@ -269,3 +270,4 @@
16 }
17 }
18 }
19 +#endif