summaryrefslogtreecommitdiffstats
path: root/security/pgp5/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'security/pgp5/files/patch-ad')
-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 0000000..6c246ea
--- /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
+
OpenPOWER on IntegriCloud