diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/openssl/files/openssl-1.0.1p-default-source.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/openssl/files/openssl-1.0.1p-default-source.patch')
-rw-r--r-- | dev-libs/openssl/files/openssl-1.0.1p-default-source.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch b/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch new file mode 100644 index 000000000000..73029985ae09 --- /dev/null +++ b/dev-libs/openssl/files/openssl-1.0.1p-default-source.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/554338 +https://rt.openssl.org/Ticket/Display.html?id=3934&user=guest&pass=guest + +From 7c2e97f8bbae517496fdc11f475b4ae54b2534f5 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Fri, 10 Jul 2015 01:50:52 -0400 +Subject: [PATCH] test: use _DEFAULT_SOURCE with newer glibc versions + +The _BSD_SOURCE macro is replaced by the _DEFAULT_SOURCE macro. Using +just the former with newer versions leads to a build time warning, so +make sure to use the new macro too. +--- + ssl/ssltest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ssl/ssltest.c b/ssl/ssltest.c +index 26cf96c..b36f667 100644 +--- a/ssl/ssltest.c ++++ b/ssl/ssltest.c +@@ -141,6 +141,7 @@ + */ + + /* Or gethostname won't be declared properly on Linux and GNU platforms. */ ++#define _DEFAULT_SOURCE 1 + #define _BSD_SOURCE 1 + + #include <assert.h> +-- +2.4.4 + |