diff options
author | linimon <linimon@FreeBSD.org> | 2009-03-01 08:37:19 +0800 |
---|---|---|
committer | linimon <linimon@FreeBSD.org> | 2009-03-01 08:37:19 +0800 |
commit | 8b0e185a87065f04df63d9fa9fed9ea12fa34291 (patch) | |
tree | 01506a3dffab84bdef98edcd6727665607fbd514 /security | |
parent | 59ef8c67d421d2b24a5a47a91bbabd2994de8009 (diff) | |
download | freebsd-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.c | 20 |
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 |