termux-packages/packages/mpd/src-io-FileOutputStream.hxx.patch
Aditya Alok a8b48fb720
feat(mpd): enable auto-update, upgrade to 0.23.6
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
2022-04-19 18:34:12 +05:30

12 lines
465 B
Diff

--- ../FileOutputStream.hxx.orig 2019-08-24 20:56:41.969642005 +0200
+++ ./src/io/FileOutputStream.hxx 2019-08-12 21:47:53.854420002 +0200
@@ -45,7 +45,7 @@
#include <windows.h>
#endif
-#if defined(__linux__) && !defined(ANDROID)
+#if defined(__linux__) && !defined(__ANDROID__)
/* we don't use O_TMPFILE on Android because Android's braindead
SELinux policy disallows hardlinks
(https://android.googlesource.com/platform/external/sepolicy/+/85ce2c7),