X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/72dd9a3b355d1b0b0eb21702dbb61a04d87b19ea..72f69cdc35d351db485f2021d9a98d4101e88bc8:/packages/picolisp/src-ext.c.patch diff --git a/packages/picolisp/src-ext.c.patch b/packages/picolisp/src-ext.c.patch index 28985d9f..cb246bdc 100644 --- a/packages/picolisp/src-ext.c.patch +++ b/packages/picolisp/src-ext.c.patch @@ -1,19 +1,11 @@ -The crypt(3) function is not available in Android, so remove support -in ext for now. - diff -u -r ../picoLisp/src/ext.c ./src/ext.c ---- ../picoLisp/src/ext.c 2015-04-27 00:34:17.000000000 -0400 -+++ ./src/ext.c 2015-11-27 06:07:18.767005597 -0500 -@@ -252,6 +252,7 @@ +--- ../picoLisp/src/ext.c 2016-04-01 04:05:10.000000000 -0400 ++++ ./src/ext.c 2016-04-13 06:40:31.791712225 -0400 +@@ -3,6 +3,7 @@ + */ - /*** Password hashing ***/ - // (Ext:Crypt 'key 'salt) -> str -+#ifndef __ANDROID__ - any Crypt(any x) { - any y; + #include "pico.h" ++#include -@@ -269,3 +270,4 @@ - } - } - } -+#endif + /*** Soundex Algorithm ***/ + static int SnxTab[] = {