Add start of regression testing of packages
[termux-packages] / ndk_patches / stdio.h.patch
index c64fda1..325fcf3 100644 (file)
@@ -38,7 +38,7 @@ diff -u -r /home/fornwall/lib/android-ndk/platforms/android-21/arch-arm/usr/incl
 +
 +/* Used by perl, fish, and others */
 +static char* ctermid(char* s) {
-+    if (s == 0) return "/dev/tty";
++    if (s == 0) return (char*) "/dev/tty";
 +    strcpy(s, "/dev/tty");
 +    return s;
 +}