summaryrefslogtreecommitdiffstats
path: root/patches/openssl-1.0.0d/0019-debian-gnu_source.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/openssl-1.0.0d/0019-debian-gnu_source.patch')
-rw-r--r--patches/openssl-1.0.0d/0019-debian-gnu_source.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/patches/openssl-1.0.0d/0019-debian-gnu_source.patch b/patches/openssl-1.0.0d/0019-debian-gnu_source.patch
new file mode 100644
index 000000000..bbaf90ad5
--- /dev/null
+++ b/patches/openssl-1.0.0d/0019-debian-gnu_source.patch
@@ -0,0 +1,31 @@
+From: Michael Olbrich <m.olbrich@pengutronix.de>
+Date: Tue, 22 Feb 2011 13:56:44 +0100
+Subject: [PATCH] debian gnu_source
+
+Applied gnu_source.patch from openssl_1.0.0c-2.debian.tar.gz
+
+Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
+---
+ crypto/dso/dso_dlfcn.c | 6 ++----
+ 1 files changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c
+index 14bd322..b738302 100644
+--- a/crypto/dso/dso_dlfcn.c
++++ b/crypto/dso/dso_dlfcn.c
+@@ -60,10 +60,8 @@
+ that handle _GNU_SOURCE and other similar macros. Defining it later
+ is simply too late, because those headers are protected from re-
+ inclusion. */
+-#ifdef __linux
+-# ifndef _GNU_SOURCE
+-# define _GNU_SOURCE /* make sure dladdr is declared */
+-# endif
++#ifndef _GNU_SOURCE
++# define _GNU_SOURCE /* make sure dladdr is declared */
+ #endif
+
+ #include <stdio.h>
+--
+1.7.4.1
+