File: src___libdes___read_pwd.c.patch

package info (click to toggle)
crack 5.0a-19
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,248 kB
  • sloc: ansic: 7,445; perl: 1,375; sh: 1,066; makefile: 216
file content (17 lines) | stat: -rw-r--r-- 475 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Handle glibc based systems like SGI ones.
 Patch imported from .diff.gz of crack 5.0a-9.4
Author: Axel Beckert <abe@debian.org>
Forwarded: not-needed
Last-Update: 2016-10-10

--- crack-5.0a.orig/src/libdes/read_pwd.c
+++ crack-5.0a/src/libdes/read_pwd.c
@@ -55,7 +55,7 @@
  * TERMIO, TERMIOS, VMS, MSDOS and SGTTY
  */
 
-#if defined(sgi) || defined(__sgi)
+#if defined(sgi) || defined(__sgi) || defined (__GLIBC__)
 #define TERMIOS
 #undef TERMIO
 #undef SGTTY