aboutsummaryrefslogtreecommitdiff
path: root/security/cfs
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2009-03-01 00:37:19 +0000
committerMark Linimon <linimon@FreeBSD.org>2009-03-01 00:37:19 +0000
commitf19d54a496c882f6abe043bd41fde3f1b15a6164 (patch)
treebd378946b2074fe592230f44a8a49f2c56c475ba /security/cfs
parent17340ce55c65a92c71c0113f7ec9825ab1d08919 (diff)
downloadports-f19d54a496c882f6abe043bd41fde3f1b15a6164.tar.gz
ports-f19d54a496c882f6abe043bd41fde3f1b15a6164.zip
Notes
Diffstat (limited to 'security/cfs')
-rw-r--r--security/cfs/files/patch-getpass.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/cfs/files/patch-getpass.c b/security/cfs/files/patch-getpass.c
new file mode 100644
index 000000000000..cd3fc0e2cb11
--- /dev/null
+++ b/security/cfs/files/patch-getpass.c
@@ -0,0 +1,20 @@
+--- getpass.c
++++ getpass.c
+@@ -35,7 +35,7 @@
+
+ #include <stdio.h>
+ #include <signal.h>
+-#ifndef linux
++#if !defined(linux) && !defined(__FreeBSD__)
+ #include <sgtty.h>
+ #endif
+ #include <sys/types.h>
+@@ -45,7 +45,7 @@
+ #include "cfs.h"
+ #include "shs.h"
+
+-#if defined(irix) || defined(linux)
++#if defined(irix) || defined(linux) || defined(__FreeBSD__)
+ /* hacks to use POSIX style termios instead of old BSD style sgttyb */
+ #include <termios.h>
+ #define sgttyb termios