pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
chromium-new: Define _XOPEN_SOURCE for strdup on NetBSD
Module Name: pkgsrc-wip
Committed By: Ryo ONODERA <ryoon%NetBSD.org@localhost>
Pushed By: ryoon
Date: Sat Jul 23 13:59:21 2016 +0900
Changeset: eaf6b254a7c1533ca9fc0e8bc456752caa7c7c86
Added Files:
chromium-new/patches/patch-third__party_boringssl_src_crypto_mem.c
Log Message:
chromium-new: Define _XOPEN_SOURCE for strdup on NetBSD
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=eaf6b254a7c1533ca9fc0e8bc456752caa7c7c86
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
.../patches/patch-third__party_boringssl_src_crypto_mem.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diffs:
diff --git a/chromium-new/patches/patch-third__party_boringssl_src_crypto_mem.c b/chromium-new/patches/patch-third__party_boringssl_src_crypto_mem.c
new file mode 100644
index 0000000..4260094
--- /dev/null
+++ b/chromium-new/patches/patch-third__party_boringssl_src_crypto_mem.c
@@ -0,0 +1,12 @@
+$NetBSD$
+
+--- third_party/boringssl/src/crypto/mem.c.orig 2016-06-24 01:03:30.000000000 +0000
++++ third_party/boringssl/src/crypto/mem.c
+@@ -56,6 +56,7 @@
+
+ #if !defined(_POSIX_C_SOURCE)
+ #define _POSIX_C_SOURCE 201410L /* needed for strdup, snprintf, vprintf etc */
++#define _XOPEN_SOURCE
+ #endif
+
+ #include <openssl/mem.h>
Home |
Main Index |
Thread Index |
Old Index