pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/gnutls gnutls: don't redefine max_align_t on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/480b0772a55f
branches:  trunk
changeset: 356908:480b0772a55f
user:      maya <maya%pkgsrc.org@localhost>
date:      Sat Jan 07 18:49:16 2017 +0000

description:
gnutls: don't redefine max_align_t on FreeBSD. It incorrectly fails the
configure test because the type in stddef.h is guarded by a c11 macro
(most likely).

Force the configure test to pass.

>From David Shao in PR pkg/51793 (originally from FreeBSD ports).

diffstat:

 security/gnutls/Makefile |  22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diffs (43 lines):

diff -r 6cfaefb72411 -r 480b0772a55f security/gnutls/Makefile
--- a/security/gnutls/Makefile  Sat Jan 07 18:21:54 2017 +0000
+++ b/security/gnutls/Makefile  Sat Jan 07 18:49:16 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.167 2016/09/20 08:40:15 wiz Exp $
+# $NetBSD: Makefile,v 1.168 2017/01/07 18:49:16 maya Exp $
 
 DISTNAME=      gnutls-3.5.4
 PKGREVISION=   1
@@ -34,15 +34,15 @@
 
 INFO_FILES=            yes
 
-REPLACE_BASH+= tests/cert-tests/openpgp-certs
-REPLACE_BASH+= tests/danetool.sh
-REPLACE_BASH+= tests/ocsp-tests/ocsp-must-staple-connection
-REPLACE_BASH+= tests/ocsp-tests/ocsp-tls-connection
-REPLACE_BASH+= tests/key-tests/dsa
-REPLACE_BASH+= tests/suite/testcompat-main-polarssl
-REPLACE_BASH+= tests/suite/testcompat-main-openssl
-REPLACE_BASH+= tests/fastopen.sh
-REPLACE_BASH+= tests/starttls.sh
+REPLACE_BASH+=         tests/cert-tests/openpgp-certs
+REPLACE_BASH+=         tests/danetool.sh
+REPLACE_BASH+=         tests/ocsp-tests/ocsp-must-staple-connection
+REPLACE_BASH+=         tests/ocsp-tests/ocsp-tls-connection
+REPLACE_BASH+=         tests/key-tests/dsa
+REPLACE_BASH+=         tests/suite/testcompat-main-polarssl
+REPLACE_BASH+=         tests/suite/testcompat-main-openssl
+REPLACE_BASH+=         tests/fastopen.sh
+REPLACE_BASH+=         tests/starttls.sh
 
 REPLACE_PERL+= doc/scripts/gdoc doc/scripts/sort2.pl
 
@@ -57,6 +57,8 @@
 # Assembler support is broken for SunOS in 3.2.9.
 CONFIGURE_ARGS.SunOS+= --disable-hardware-acceleration
 
+CONFIGURE_ARGS.FreeBSD+=       ac_cv_type_max_align_t=yes
+
 INSTALLATION_DIRS=     ${DOCDIR} ${EGDIR} include/gnutls
 
 post-install:



Home | Main Index | Thread Index | Old Index