aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2009-03-01 08:37:19 +0800
committerlinimon <linimon@FreeBSD.org>2009-03-01 08:37:19 +0800
commit8b0e185a87065f04df63d9fa9fed9ea12fa34291 (patch)
tree01506a3dffab84bdef98edcd6727665607fbd514 /security
parent59ef8c67d421d2b24a5a47a91bbabd2994de8009 (diff)
downloadfreebsd-ports-gnome-8b0e185a87065f04df63d9fa9fed9ea12fa34291.tar.gz
freebsd-ports-gnome-8b0e185a87065f04df63d9fa9fed9ea12fa34291.tar.zst
freebsd-ports-gnome-8b0e185a87065f04df63d9fa9fed9ea12fa34291.zip
Attempt to fix port after usb2 import.
Submitted by: ed
Diffstat (limited to 'security')
-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