aboutsummaryrefslogtreecommitdiff
path: root/security
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
parent73d2b8f97ec07ac376752f4b063c210b17b831e6 (diff)
downloadports-8975664af8900c0f03b9a3385cae810d6337007d.tar.gz
ports-8975664af8900c0f03b9a3385cae810d6337007d.zip
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')
-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
+