1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

security/cryptlib: enable on powerpc and powerpc64

This commit is contained in:
Piotr Kubaj 2021-11-27 12:54:49 +00:00
parent fe13cf5adc
commit 1a425451d2
2 changed files with 14 additions and 1 deletions

View File

@ -9,7 +9,7 @@ DISTNAME= cl${PORTVERSION:S/.//g}
MAINTAINER= ale@FreeBSD.org
COMMENT= Powerful security programming toolkit
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386 powerpc powerpc64
OPTIONS_DEFINE= DOCS

View File

@ -0,0 +1,13 @@
--- crypt/osconfig.h.orig 2021-11-26 15:16:58 UTC
+++ crypt/osconfig.h
@@ -147,6 +147,10 @@
#define L_ENDIAN
#else
#define B_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