aboutsummaryrefslogtreecommitdiffstats
path: root/security/openssh-portable/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-01-28 15:23:21 +0800
committerdinoex <dinoex@FreeBSD.org>2002-01-28 15:23:21 +0800
commit9ff3bb64048b4054f64cc0a7935a356b9faf5b5c (patch)
treebb3d29fdc2d1a63051dc7f30b8d6ac7f6a876b69 /security/openssh-portable/files
parentb18a31c3d95fb9da793906befbee0632416eb9c4 (diff)
downloadfreebsd-ports-gnome-9ff3bb64048b4054f64cc0a7935a356b9faf5b5c.tar.gz
freebsd-ports-gnome-9ff3bb64048b4054f64cc0a7935a356b9faf5b5c.tar.zst
freebsd-ports-gnome-9ff3bb64048b4054f64cc0a7935a356b9faf5b5c.zip
Add patch for: readpassphrase.h
Someone in the OpenSSH world doesn't understand the difference between application and implementation namespaces. This causes conflicts with <readpassphrase.h>. PR: 34362 Submitted by: wollman@hergotha.lcs.mit.edu
Diffstat (limited to 'security/openssh-portable/files')
-rw-r--r--security/openssh-portable/files/patch-readpassphrase.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/security/openssh-portable/files/patch-readpassphrase.h b/security/openssh-portable/files/patch-readpassphrase.h
new file mode 100644
index 000000000000..d2820ec0549d
--- /dev/null
+++ b/security/openssh-portable/files/patch-readpassphrase.h
@@ -0,0 +1,23 @@
+--- openbsd-compat/readpassphrase.h.orig Sun Jan 27 19:18:10 2002
++++ openbsd-compat/readpassphrase.h Sun Jan 27 19:18:54 2002
+@@ -28,6 +28,6 @@
+ */
+
+-#ifndef _READPASSPHRASE_H_
+-#define _READPASSPHRASE_H_
++#ifndef READPASSPHRASE_H_
++#define READPASSPHRASE_H_
+
+ #include "includes.h"
+@@ -43,6 +43,7 @@
+
+ char *readpassphrase(const char *, char *, size_t, int);
+-
++#else /* HAVE_READPASSPHRASE */
++#include <readpassphrase.h>
+ #endif /* HAVE_READPASSPHRASE */
+
+-#endif /* !_READPASSPHRASE_H_ */
++#endif /* !READPASSPHRASE_H_ */
+
+