Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Mar 2021 16:11:27 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568668 - head/security/libgcrypt
Message-ID:  <202103171611.12HGBRUN060907@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



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