termux-packages/packages/emacs/no_assign_stderr.patch

13 lines
434 B
Diff

diff -u -r ../emacs-24.3/src/print.c ./src/print.c
--- ../emacs-24.3/src/print.c 2013-01-01 21:37:17.000000000 +0100
+++ ./src/print.c 2014-02-19 03:24:04.000000000 +0100
@@ -733,7 +733,7 @@
print_output_debug_flag = x;
}
-#if defined (GNU_LINUX)
+#if defined (GNU_LINUX) && !defined (__ANDROID__)
/* This functionality is not vitally important in general, so we rely on
non-portable ability to use stderr as lvalue. */