Sha256: 8069991c74b5210be70f2677cc60b3820db31a337575c778f2fac0f060aa6bc9

Contents?: true

Size: 607 Bytes

Versions: 25

Compression:

Stored size: 607 Bytes

Contents

--- openssl/crypto/rand/randfile.c.old  2015-07-10 02:44:30.171640289 +0200
+++ openssl/crypto/rand/randfile.c      2015-07-10 02:54:20.081824839 +0200
@@ -57,7 +57,7 @@
  */

 /* We need to define this to get macros like S_IFBLK and S_IFCHR */
-#if !defined(OPENSSL_SYS_VXWORKS)
+#if !defined(OPENSSL_SYS_VXWORKS) && !defined(__sun)
 # define _XOPEN_SOURCE 500
 #endif

@@ -82,6 +82,12 @@
 # include <fcntl.h>
 #endif

+#if defined(__sun)
+# if !defined(S_IFBLK) || !defined(S_IFCHR)
+#  error "We need S_IFBLK and S_IFCHR"
+# endif
+#endif
+
 #ifdef _WIN32
 # define stat    _stat
 # define chmod   _chmod

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
clusterlb-0.1.32 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.31 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.30 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.29 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.28 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.27 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.26 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.25 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.24 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.23 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.22 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.21 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.20 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.19 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.17 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.16 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.15 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.14 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.13 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch
clusterlb-0.1.12 omnibus/config/patches/openssl/solaris-do-not-define-xopen-source.patch