termux-packages/packages/tree/strverscmp.c.patch
Aditya Alok 8a5fcda4a0
feat(tree): enable auto-update, upgrade to 2.0.2
- also switch to gitlab url

re #10055

Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-18 00:52:14 +05:30

19 lines
458 B
Diff

--- ./strverscmp.c.orig 2022-04-17 17:30:13.079263409 +0000
+++ ./strverscmp.c 2022-04-17 17:37:27.495463877 +0000
@@ -21,7 +21,7 @@
/* #include "libiberty.h" */
/* #include "safe-ctype.h" */
#include <ctype.h>
-#ifndef __linux__
+#if defined(__ANDROID__) || !defined(__linux__)
/*
@deftypefun int strverscmp (const char *@var{s1}, const char *@var{s2})
@@ -157,4 +157,4 @@
return state;
}
}
-#endif
\ No newline at end of file
+#endif