pkgsrc-Changes archive

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

CVS commit: pkgsrc/pkgtools/digest/files



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Oct  5 15:38:48 UTC 2021

Modified Files:
        pkgsrc/pkgtools/digest/files: blake2s.c configure

Log Message:
digest: Remove _POSIX_C_SOURCE. PR pkg/56439


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/pkgtools/digest/files/blake2s.c
cvs rdiff -u -r1.25 -r1.26 pkgsrc/pkgtools/digest/files/configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/pkgtools/digest/files/blake2s.c
diff -u pkgsrc/pkgtools/digest/files/blake2s.c:1.1 pkgsrc/pkgtools/digest/files/blake2s.c:1.2
--- pkgsrc/pkgtools/digest/files/blake2s.c:1.1  Tue Sep 28 13:05:08 2021
+++ pkgsrc/pkgtools/digest/files/blake2s.c      Tue Oct  5 15:38:48 2021
@@ -24,8 +24,6 @@
  * SUCH DAMAGE.
  */
 
-#define        _POSIX_C_SOURCE 200809L
-
 #include <assert.h>
 #include <stdint.h>
 #include <string.h>
@@ -34,7 +32,7 @@
 
 void *(*volatile blake2s_explicit_memset_impl)(void *, int, size_t) = &memset;
 static void *
-explicit_memset(void *buf, int c, size_t n)
+blake2s_explicit_memset(void *buf, int c, size_t n)
 {
 
        return (*blake2s_explicit_memset_impl)(buf, c, n);
@@ -158,7 +156,7 @@ blake2s_compress(uint32_t h[8], uint64_t
        h[6] ^= v6 ^ v14;
        h[7] ^= v7 ^ v15;
 
-       (void)explicit_memset(m, 0, sizeof m);
+       (void)blake2s_explicit_memset(m, 0, sizeof m);
 }
 
 void
@@ -270,7 +268,7 @@ blake2s_final(struct blake2s *B, void *d
        }
 
        /* Erase the state.  */
-       (void)explicit_memset(B, 0, sizeof B);
+       (void)blake2s_explicit_memset(B, 0, sizeof B);
 }
 
 void

Index: pkgsrc/pkgtools/digest/files/configure
diff -u pkgsrc/pkgtools/digest/files/configure:1.25 pkgsrc/pkgtools/digest/files/configure:1.26
--- pkgsrc/pkgtools/digest/files/configure:1.25 Wed Sep 29 13:10:40 2021
+++ pkgsrc/pkgtools/digest/files/configure      Tue Oct  5 15:38:48 2021
@@ -580,7 +580,7 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='nbsd-digest'
 PACKAGE_TARNAME='nbsd-digest'
-PACKAGE_VERSION='20210929'
+PACKAGE_VERSION='20211005'
 PACKAGE_STRING='nbsd-digest 20190127'
 PACKAGE_BUGREPORT='agc%netbsd.org@localhost'
 PACKAGE_URL=''



Home | Main Index | Thread Index | Old Index