termux-packages/x11-packages/tigervnc/tigervnc-1.9.0_unix_tx_TXDialog.h.patch
Leonid Pliushch 0e280f4735
tigervnc: use TCSANOW in vncpasswd
Now password won't be echoed when using tool 'vncpasswd'.
2022-04-18 14:08:06 +05:30

15 lines
496 B
Diff

diff -uNr tigervnc-1.9.0/unix/tx/TXDialog.h tigervnc-1.9.0.mod/unix/tx/TXDialog.h
--- tigervnc-1.9.0/unix/tx/TXDialog.h 2018-07-16 17:08:55.000000000 +0300
+++ tigervnc-1.9.0.mod/unix/tx/TXDialog.h 2018-09-12 11:14:21.779656681 +0300
@@ -31,6 +31,10 @@
#include "TXWindow.h"
#include <errno.h>
+#ifdef __ANDROID__
+#include <sys/select.h>
+#endif
+
class TXDialog : public TXWindow, public TXDeleteWindowCallback {
public:
TXDialog(Display* dpy, int width, int height, const char* name,