svn commit: r568668 - head/security/libgcrypt

Cy Schubert cy at FreeBSD.org
Wed Mar 17 16:11:28 UTC 2021


Author: cy
Date: Wed Mar 17 16:11:27 2021
New Revision: 568668
URL: https://svnweb.freebsd.org/changeset/ports/568668

Log:
  security/libgcrypt: Fix armv6 build
  
  Armv6 fails to build jitterentropy-base.c without optimization,
  even though #pragma GCC optimization and #pragma clang optimization
  are specified. For now brute force disable building the jitter
  entropy generator on armv6.
  
  PR:		253698
  Submitted by:	yani _ pi-greece.eu
  Reported by:	yani _ pi-greece.eu

Modified:
  head/security/libgcrypt/Makefile   (contents, props changed)

Modified: head/security/libgcrypt/Makefile
==============================================================================
--- head/security/libgcrypt/Makefile	Wed Mar 17 16:10:21 2021	(r568667)
+++ head/security/libgcrypt/Makefile	Wed Mar 17 16:11:27 2021	(r568668)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libgcrypt
 PORTVERSION=	1.9.2
+PORTREVISION=	1
 CATEGORIES=	security
 MASTER_SITES=	GNUPG
 
@@ -36,6 +37,10 @@ OPTIONS_DEFINE=	DOCS
 
 .if ${ARCH} == "powerpc"
 CONFIGURE_ARGS+=	--disable-asm
+.endif
+
+.if ${ARCH} == "armv6"
+CONFIGURE_ARGS+=	--disable-jent-support
 .endif
 
 post-patch:


More information about the svn-ports-head mailing list