summaryrefslogtreecommitdiff
path: root/security/pgp5
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-20 01:35:29 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-20 01:35:29 +0000
commit8975664af8900c0f03b9a3385cae810d6337007d (patch)
tree259477b5ec7260f369e751e385261ae39ecb91b7 /security/pgp5
parentWe don't have a fp_* cruft on FreeBSD/Alpha. (diff)
Let this port know of the types that are 64-bit on FreeBSD/Alpha.
Notes
Notes: svn path=/head/; revision=21793
Diffstat (limited to 'security/pgp5')
-rw-r--r--security/pgp5/files/patch-ad20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/pgp5/files/patch-ad b/security/pgp5/files/patch-ad
new file mode 100644
index 000000000000..6c246eae65f0
--- /dev/null
+++ b/security/pgp5/files/patch-ad
@@ -0,0 +1,20 @@
+--- include/pgpUsuals.h.orig Sun Sep 19 16:40:16 1999
++++ include/pgpUsuals.h Sun Sep 19 16:41:51 1999
+@@ -48,11 +48,17 @@
+ * will choke lesser preprocessors (like 0xffffffffffffffff) unless
+ * we're reasonably certain that they'll be acceptable.
+ */
++#if defined(__FreeBSD__) && defined(__alpha__)
++typedef unsigned long word64;
++typedef long int64;
++#define HAVE64 1
++#else
+ #if ULONG_MAX > 0xfffffffful
+ #if ULONG_MAX == 0xfffffffffffffffful
+ typedef ulong bnword64;
+ #define BNWORD64 bnword64
+ #define HAVE64 1
++#endif
+ #endif
+ #endif
+