summaryrefslogtreecommitdiff
path: root/security/cryptlib/files
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-01 17:25:26 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-12-01 17:25:26 +0000
commitc547e9e899e0cab7bd2c50cbb100e2f041a2ea4d (patch)
treef3beea2e92ac4d20f8d67697dc0fbc4e4bfd93fb /security/cryptlib/files
parentgames/darkplaces: the port had been updated and cleaned up (+) (diff)
security/cryptlib: fix build on powerpc64le
Diffstat (limited to 'security/cryptlib/files')
-rw-r--r--security/cryptlib/files/patch-crypt_osconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/cryptlib/files/patch-crypt_osconfig.h b/security/cryptlib/files/patch-crypt_osconfig.h
index 4737b39c8c61..3cc1a7d7de9b 100644
--- a/security/cryptlib/files/patch-crypt_osconfig.h
+++ b/security/cryptlib/files/patch-crypt_osconfig.h
@@ -4,10 +4,10 @@
#define L_ENDIAN
#else
#define B_ENDIAN
+ #endif /* Usually big-endian but may be little-endian */
+ #ifdef __LP64__
+ #undef SIXTY_FOUR_BIT
+ #define SIXTY_FOUR_BIT_LONG
+ #endif
- #endif /* Usually big-endian but may be little-endian */
#define BN_LLONG
#define DES_RISC1