summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2019-01-27 22:50:55 +0000
committeragc <agc@pkgsrc.org>2019-01-27 22:50:55 +0000
commit29c350c9fbe779aa00b3178f18a3c8c63c8f86b2 (patch)
tree461d385dc63224fd40b49db376f2238678373b9d
parent35a65abfd68877d14d18f509fa4088d766c36a6d (diff)
downloadpkgsrc-29c350c9fbe779aa00b3178f18a3c8c63c8f86b2.tar.gz
Update digest package to version 20190127
Remove some gcc-isms in a macro in keccak.c, provided by Erno Palonheimo in PR pkg/53771
-rwxr-xr-xpkgtools/digest/files/configure18
-rw-r--r--pkgtools/digest/files/configure.ac4
-rw-r--r--pkgtools/digest/files/keccak.c10
3 files changed, 16 insertions, 16 deletions
diff --git a/pkgtools/digest/files/configure b/pkgtools/digest/files/configure
index e1920fc1abb..d216271ee04 100755
--- a/pkgtools/digest/files/configure
+++ b/pkgtools/digest/files/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for nbsd-digest 20160304.
+# Generated by GNU Autoconf 2.69 for nbsd-digest 20190127.
#
# Report bugs to <agc@netbsd.org>.
#
@@ -580,8 +580,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='nbsd-digest'
PACKAGE_TARNAME='nbsd-digest'
-PACKAGE_VERSION='20180917'
-PACKAGE_STRING='nbsd-digest 20160304'
+PACKAGE_VERSION='20190127'
+PACKAGE_STRING='nbsd-digest 20190127'
PACKAGE_BUGREPORT='agc@netbsd.org'
PACKAGE_URL=''
@@ -1242,7 +1242,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures nbsd-digest 20160304 to adapt to many kinds of systems.
+\`configure' configures nbsd-digest 20190127 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1312,7 +1312,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of nbsd-digest 20160304:";;
+ short | recursive ) echo "Configuration of nbsd-digest 20190127:";;
esac
cat <<\_ACEOF
@@ -1392,7 +1392,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-nbsd-digest configure 20160304
+nbsd-digest configure 20190127
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1937,7 +1937,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by nbsd-digest $as_me 20160304, which was
+It was created by nbsd-digest $as_me 20190127, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -4707,7 +4707,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by nbsd-digest $as_me 20160304, which was
+This file was extended by nbsd-digest $as_me 20190127, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -4769,7 +4769,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-nbsd-digest config.status 20160304
+nbsd-digest config.status 20190127
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/pkgtools/digest/files/configure.ac b/pkgtools/digest/files/configure.ac
index 4cf0a19f587..e0a7dc057dd 100644
--- a/pkgtools/digest/files/configure.ac
+++ b/pkgtools/digest/files/configure.ac
@@ -1,7 +1,7 @@
-dnl $Id: configure.ac,v 1.20 2016/03/04 23:09:25 agc Exp $
+dnl $Id: configure.ac,v 1.21 2019/01/27 22:50:55 agc Exp $
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT([nbsd-digest],[20160304],[agc@netbsd.org])
+AC_INIT([nbsd-digest],[20190127],[agc@netbsd.org])
AC_CONFIG_SRCDIR([digest.c])
AC_CONFIG_HEADER(config.h)
AC_ARG_PROGRAM
diff --git a/pkgtools/digest/files/keccak.c b/pkgtools/digest/files/keccak.c
index 0bc7b79d422..9179572b858 100644
--- a/pkgtools/digest/files/keccak.c
+++ b/pkgtools/digest/files/keccak.c
@@ -32,11 +32,11 @@
#define FOR5(X, STMT) do \
{ \
- (X) = 0; (STMT); \
- (X) = 1; (STMT); \
- (X) = 2; (STMT); \
- (X) = 3; (STMT); \
- (X) = 4; (STMT); \
+ (X) = 0; {STMT}; \
+ (X) = 1; {STMT}; \
+ (X) = 2; {STMT}; \
+ (X) = 3; {STMT}; \
+ (X) = 4; {STMT}; \
} while (0)
static inline secret uint64_t