Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Dec 2021 17:33:13 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c547e9e899e0 - main - security/cryptlib: fix build on powerpc64le
Message-ID:  <202112011733.1B1HXDEe053295@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c547e9e899e0cab7bd2c50cbb100e2f041a2ea4d

commit c547e9e899e0cab7bd2c50cbb100e2f041a2ea4d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-12-01 17:25:26 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2021-12-01 17:25:26 +0000

    security/cryptlib: fix build on powerpc64le
---
 security/cryptlib/Makefile                     | 2 +-
 security/cryptlib/files/patch-crypt_osconfig.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/security/cryptlib/Makefile b/security/cryptlib/Makefile
index 28484e46c006..bdd0dcc64276 100644
--- a/security/cryptlib/Makefile
+++ b/security/cryptlib/Makefile
@@ -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 powerpc powerpc64
+ONLY_FOR_ARCHS=		amd64 armv6 armv7 i386 powerpc powerpc64 powerpc64le
 
 OPTIONS_DEFINE=		DOCS
 
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112011733.1B1HXDEe053295>