0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/xorg-server/xorg-server-1.20.1_hw_xfree86_parser_write.c.patch
2023-01-18 15:45:09 +00:00

13 lines
492 B
Diff

diff -uNr xorg-server-1.20.1/hw/xfree86/parser/write.c xorg-server-1.20.1.mod/hw/xfree86/parser/write.c
--- xorg-server-1.20.1/hw/xfree86/parser/write.c 2018-08-07 19:31:03.000000000 +0300
+++ xorg-server-1.20.1.mod/hw/xfree86/parser/write.c 2018-10-08 21:07:16.817587230 +0300
@@ -129,7 +129,7 @@
int
xf86writeConfigFile(const char *filename, XF86ConfigPtr cptr)
{
-#ifndef HAS_NO_UIDS
+#if !defined(HAS_NO_UIDS) && !defined(__ANDROID__)
int ret;
if (getuid() != geteuid()) {