X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/27ce01e83bf0264b9aed9595226ef84f07ca0f52..1fa07c931abac214baf0a98b4e1ae198fb32fa55:/packages/picolisp/src-ext.c.patch?ds=sidebyside diff --git a/packages/picolisp/src-ext.c.patch b/packages/picolisp/src-ext.c.patch index cfb787b7..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-11-27 02:25:22.000000000 -0500 -+++ ./src/ext.c 2016-02-08 06:19:58.405969024 -0500 -@@ -250,6 +250,7 @@ - return T; - } +--- ../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 @@ + */ -+#ifndef __ANDROID__ - /*** Password hashing ***/ - // (ext:Crypt 'key 'salt) -> str - any Crypt(any x) { -@@ -269,3 +270,4 @@ - } - } - } -+#endif + #include "pico.h" ++#include + + /*** Soundex Algorithm ***/ + static int SnxTab[] = {