termux-packages/disabled-packages/unrar/os.hpp.patch
Leonid Pliushch 53a9ab7a8f frobtads, sl, unrar: disable packages because their license is not accepted by hosting
Bintray denied license requests for these packages, therefore we cannot provide
them via main repository.
2019-03-29 03:42:47 +02:00

13 lines
362 B
Diff

diff -u -r ../unrar/os.hpp ./os.hpp
--- ../unrar/os.hpp 2017-06-10 13:59:52.000000000 +0000
+++ ./os.hpp 2017-06-12 00:11:04.591100580 +0000
@@ -154,7 +154,7 @@
#define SAVE_LINKS
#endif
-#if defined(__linux) || defined(__FreeBSD__)
+#if (defined(__linux) && !defined(__ANDROID__)) || defined(__FreeBSD__)
#include <sys/time.h>
#define USE_LUTIMES
#endif