aboutsummaryrefslogtreecommitdiffstats
path: root/security/pgp5
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-20 09:35:29 +0800
committersteve <steve@FreeBSD.org>1999-09-20 09:35:29 +0800
commit662c24f3e8818770e5a860cb6090b288be9a4ccf (patch)
treedfdb650dc35675cd442d363ab649d4b6fbcfca46 /security/pgp5
parentdd87146077ce25fe2d2e4c2969f0a43b38ca92e0 (diff)
downloadfreebsd-ports-gnome-662c24f3e8818770e5a860cb6090b288be9a4ccf.tar.gz
freebsd-ports-gnome-662c24f3e8818770e5a860cb6090b288be9a4ccf.tar.zst
freebsd-ports-gnome-662c24f3e8818770e5a860cb6090b288be9a4ccf.zip
Let this port know of the types that are 64-bit on FreeBSD/Alpha.
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
+