lol

readline: add android patch

+17 -1
+1 -1
pkgs/development/libraries/readline/6.3.nix
··· 23 23 patches = 24 24 [ ./link-against-ncurses.patch 25 25 ./no-arch_only-6.3.patch 26 - ] 26 + ] ++ stdenv.lib.optional stdenv.hostPlatform.useAndroidPrebuilt ./android.patch 27 27 ++ 28 28 (let 29 29 patch = nr: sha256:
+16
pkgs/development/libraries/readline/android.patch
··· 1 + diff --git histlib.h histlib.h 2 + index c938a10..925ab72 100644 3 + --- histlib.h 4 + +++ histlib.h 5 + @@ -51,9 +51,9 @@ 6 + #endif 7 + 8 + #ifndef member 9 + -# ifndef strchr 10 + +# if !defined (strchr) && !defined (__STDC__) 11 + extern char *strchr (); 12 + -# endif 13 + +# endif /* !strchr && !__STDC__ */ 14 + #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0) 15 + #endif 16 +