glib2/glib2-Add-missing-check-for-termios_h.patch

29 lines
941 B
Diff

From f4ccafc4245c19b6cb255c5e5765093f6e33086c Mon Sep 17 00:00:00 2001
From: Ondrej Holy <oholy@redhat.com>
Date: Fri, 2 Dec 2016 13:07:25 +0100
Subject: Add missing check for termios.h
Check for termios.h is missing and passwords in the new gio tool
are echoed in the terminal consequently, which is really bad!
https://bugzilla.gnome.org/show_bug.cgi?id=775517
---
configure.ac | 1 +
1 file changed, 1 insertion(+)
diff --git a/configure.ac b/configure.ac
index 21623ec..fdacbd8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -712,6 +712,7 @@ AC_CHECK_HEADERS([sys/select.h stdint.h inttypes.h sched.h malloc.h])
AC_CHECK_HEADERS([sys/vfs.h sys/vmount.h sys/statfs.h sys/statvfs.h sys/filio.h])
AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h fstab.h])
AC_CHECK_HEADERS([linux/magic.h])
+AC_CHECK_HEADERS([termios.h])
# Some versions of MSC lack these
AC_CHECK_HEADERS([dirent.h sys/time.h])
--
cgit v0.12