pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/libarchive/files/libarchive_fe



Module Name:    pkgsrc
Committed By:   joerg
Date:           Wed Jun 22 12:04:03 UTC 2016

Modified Files:
        pkgsrc/archivers/libarchive/files/libarchive_fe: passphrase.c

Log Message:
Provide _PATH_TTY if it is missing.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    pkgsrc/archivers/libarchive/files/libarchive_fe/passphrase.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/libarchive/files/libarchive_fe/passphrase.c
diff -u pkgsrc/archivers/libarchive/files/libarchive_fe/passphrase.c:1.2 pkgsrc/archivers/libarchive/files/libarchive_fe/passphrase.c:1.3
--- pkgsrc/archivers/libarchive/files/libarchive_fe/passphrase.c:1.2    Tue Jun 21 13:39:21 2016
+++ pkgsrc/archivers/libarchive/files/libarchive_fe/passphrase.c        Wed Jun 22 12:04:03 2016
@@ -132,6 +132,10 @@ readpassphrase(const char *prompt, char 
 #include <termios.h>
 #include <unistd.h>
 
+#ifndef _PATH_TTY
+#define _PATH_TTY "/dev/tty"
+#endif
+
 #ifdef TCSASOFT
 # define _T_FLUSH      (TCSAFLUSH|TCSASOFT)
 #else



Home | Main Index | Thread Index | Old Index