summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl-0.9.8t/debian/version-script.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl-0.9.8t/debian/version-script.patch')
-rw-r--r--meta/recipes-connectivity/openssl/openssl-0.9.8t/debian/version-script.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-0.9.8t/debian/version-script.patch b/meta/recipes-connectivity/openssl/openssl-0.9.8t/debian/version-script.patch
new file mode 100644
index 0000000000..6fa3d75d4b
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl-0.9.8t/debian/version-script.patch
@@ -0,0 +1,35 @@
1Upstream-Status: Backport [debian]
2
3Index: openssl-0.9.8m/Configure
4===================================================================
5--- openssl-0.9.8m.orig/Configure 2010-02-27 12:28:32.000000000 +0100
6+++ openssl-0.9.8m/Configure 2010-02-27 12:28:35.000000000 +0100
7@@ -1512,6 +1512,8 @@
8 }
9 }
10
11+$shared_ldflag .= " -Wl,--version-script=openssl.ld";
12+
13 open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n";
14 unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new";
15 open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n";
16Index: openssl-0.9.8m/openssl.ld
17===================================================================
18--- /dev/null 1970-01-01 00:00:00.000000000 +0000
19+++ openssl-0.9.8m/openssl.ld 2010-02-27 12:28:35.000000000 +0100
20@@ -0,0 +1,5 @@
21+OPENSSL_0.9.8 {
22+ global:
23+ *;
24+};
25+
26Index: openssl-0.9.8m/engines/openssl.ld
27===================================================================
28--- /dev/null 1970-01-01 00:00:00.000000000 +0000
29+++ openssl-0.9.8m/engines/openssl.ld 2010-02-27 12:28:35.000000000 +0100
30@@ -0,0 +1,5 @@
31+OPENSSL_0.9.8 {
32+ global:
33+ *;
34+};
35+