Index: head/security/libgcrypt/Makefile =================================================================== --- head/security/libgcrypt/Makefile (revision 403960) +++ head/security/libgcrypt/Makefile (revision 403961) @@ -1,59 +1,59 @@ # $FreeBSD$ PORTNAME= libgcrypt PORTVERSION= 1.6.4 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= GNUPG MAINTAINER= cpm@fbsd.es COMMENT= General purpose crypto library based on code used in GnuPG LICENSE= GPLv2 LGPL21 LICENSE_COMB= multi BUILD_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error RUN_DEPENDS= libgpg-error>=1.8:${PORTSDIR}/security/libgpg-error USES= cpe libtool makeinfo tar:bzip2 CPE_VENDOR= gnupg USE_CSTD= gnu89 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-drng-support --enable-static=yes CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" CONFIGURE_TARGET=${ARCH:S/amd64/x86_64/}-portbld-${OPSYS:tl}${OSREL} USE_LDCONFIG= yes DOCS= AUTHORS ChangeLog ChangeLog-2011 INSTALL NEWS README \ README.GIT THANKS TODO doc/HACKING doc/README.apichanges INFO= gcrypt PORTDOCS= * OPTIONS_DEFINE= DOCS .include .if ${ARCH} == "powerpc" CONFIGURE_ARGS+= --disable-asm .endif post-patch: ${RM} -f ${WRKSRC}/doc/gcrypt.info* ${REINPLACE_CMD} -e 's|ALIGN (3)|ALIGN (2)|g' ${WRKSRC}/mpi/i386/*.S # Fix crash at cipher/salsa20.c module on amd64 .if ${ARCH} == "amd64" && exists(/usr/bin/clang) CFLAGS:= ${CFLAGS:N-O*} -O2 .endif post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR} regression-test: build cd ${WRKSRC} && ${MAKE_CMD} check .include Index: head/security/libgcrypt/files/patch-git_f5832285 =================================================================== --- head/security/libgcrypt/files/patch-git_f5832285 (nonexistent) +++ head/security/libgcrypt/files/patch-git_f5832285 (revision 403961) @@ -0,0 +1,40 @@ +Fixes at least devel/ccrtp's build: + In file included from ccrtp/crypto/gcrypt/gcrypthmac.cpp:23: + /usr/local/include/gcrypt.h:509: error: comma at end of enumerator list + /usr/local/include/gcrypt.h:1346: error: comma at end of enumerator list + +From: Werner Koch +Date: Thu, 19 Mar 2015 09:43:55 +0000 (+0100) +Subject: Fix two pedantic warnings. +X-Git-Url: http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commitdiff_plain;h=f5832285b0e420d77be1b8da10a1e1d86583b414 + +Fix two pedantic warnings. + +* src/gcrypt.h.in (gcry_mpi_flag, gcry_mac_algos): Remove trailing +comma. +-- + +Reported-by: Opal Raava +Signed-off-by: Werner Koch +--- + +--- src/gcrypt.h.in ++++ src/gcrypt.h.in +@@ -511,7 +511,7 @@ enum gcry_mpi_flag + GCRYMPI_FLAG_USER1 = 0x0100,/* User flag 1. */ + GCRYMPI_FLAG_USER2 = 0x0200,/* User flag 2. */ + GCRYMPI_FLAG_USER3 = 0x0400,/* User flag 3. */ +- GCRYMPI_FLAG_USER4 = 0x0800,/* User flag 4. */ ++ GCRYMPI_FLAG_USER4 = 0x0800 /* User flag 4. */ + }; + + +@@ -1372,7 +1372,7 @@ enum gcry_mac_algos + /* Flags used with the open function. */ + enum gcry_mac_flags + { +- GCRY_MAC_FLAG_SECURE = 1, /* Allocate all buffers in "secure" memory. */ ++ GCRY_MAC_FLAG_SECURE = 1 /* Allocate all buffers in "secure" memory. */ + }; + + /* Create a MAC handle for algorithm ALGO. FLAGS may be given as an bitwise OR Property changes on: head/security/libgcrypt/files/patch-git_f5832285 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property