pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/openssl



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Sep  8 15:43:13 UTC 2016

Modified Files:
        pkgsrc/security/openssl: distinfo
Added Files:
        pkgsrc/security/openssl/patches: patch-crypto_rand_randfile.c

Log Message:
Fix build on SunOS when the default compilation environment is C99+.


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 pkgsrc/security/openssl/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/security/openssl/patches/patch-crypto_rand_randfile.c

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

Modified files:

Index: pkgsrc/security/openssl/distinfo
diff -u pkgsrc/security/openssl/distinfo:1.122 pkgsrc/security/openssl/distinfo:1.123
--- pkgsrc/security/openssl/distinfo:1.122      Tue May  3 14:51:16 2016
+++ pkgsrc/security/openssl/distinfo    Thu Sep  8 15:43:13 2016
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.122 2016/05/03 14:51:16 jperkin Exp $
+$NetBSD: distinfo,v 1.123 2016/09/08 15:43:13 jperkin Exp $
 
 SHA1 (openssl-1.0.2h.tar.gz) = 577585f5f5d299c44dd3c993d3c0ac7a219e4949
 RMD160 (openssl-1.0.2h.tar.gz) = b7ab97d34582b7467929bbcd2bb8fbc4d19ac05e
@@ -11,5 +11,6 @@ SHA1 (patch-apps_Makefile) = 60113291f2a
 SHA1 (patch-config) = 345cadece3bdf0ef0a273a6c9ba6d0cbb1026a31
 SHA1 (patch-crypto_bn_bn__prime.pl) = a516f3709a862d85e659d466e895419b1e0a94c8
 SHA1 (patch-crypto_des_Makefile) = 7a23f9883ff6c93ec0e5d08e1332cc95de8cdba2
+SHA1 (patch-crypto_rand_randfile.c) = 48b703df088cbb703109c73b051010bc9907bb58
 SHA1 (patch-engines_ccgost_Makefile) = 5ff1e2705f6cb46075d5e005af9e804bb81d65e5
 SHA1 (patch-tools_Makefile) = 67f0b9b501969382fd89b678c277d32bf5d294bc

Added files:

Index: pkgsrc/security/openssl/patches/patch-crypto_rand_randfile.c
diff -u /dev/null pkgsrc/security/openssl/patches/patch-crypto_rand_randfile.c:1.1
--- /dev/null   Thu Sep  8 15:43:13 2016
+++ pkgsrc/security/openssl/patches/patch-crypto_rand_randfile.c        Thu Sep  8 15:43:13 2016
@@ -0,0 +1,17 @@
+$NetBSD: patch-crypto_rand_randfile.c,v 1.1 2016/09/08 15:43:13 jperkin Exp $
+
+Support SunOS in C99 mode.
+
+--- crypto/rand/randfile.c.orig        2016-05-03 13:44:42.000000000 +0000
++++ crypto/rand/randfile.c
+@@ -58,8 +58,10 @@
+ 
+ /* We need to define this to get macros like S_IFBLK and S_IFCHR */
+ #if !defined(OPENSSL_SYS_VXWORKS)
++#if !(defined(__sun) && (__STDC_VERSION__ - 0 >= 199901L))
+ # define _XOPEN_SOURCE 500
+ #endif
++#endif
+ 
+ #include <errno.h>
+ #include <stdio.h>



Home | Main Index | Thread Index | Old Index