Missing patch.
authorRichard W.M. Jones <rjones@redhat.com>
Sun, 1 Feb 2009 23:45:13 +0000 (23:45 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Sun, 1 Feb 2009 23:45:13 +0000 (23:45 +0000)
openssl/openssl-0.9.8a-enginesdir.patch [new file with mode: 0644]

diff --git a/openssl/openssl-0.9.8a-enginesdir.patch b/openssl/openssl-0.9.8a-enginesdir.patch
new file mode 100644 (file)
index 0000000..0c33b74
--- /dev/null
@@ -0,0 +1,39 @@
+--- openssl-0.9.8a/Configure.enginesdir        2005-11-04 15:06:37.000000000 +0100
++++ openssl-0.9.8a/Configure   2005-11-07 14:15:12.000000000 +0100
+@@ -560,6 +560,7 @@
+ my $prefix="";
+ my $openssldir="";
++my $enginesdir="";
+ my $exe_ext="";
+ my $install_prefix="";
+ my $no_threads=0;
+@@ -739,6 +740,10 @@
+                               {
+                               $openssldir=$1;
+                               }
++                      elsif (/^--enginesdir=(.*)$/)
++                              {
++                              $enginesdir=$1;
++                              }
+                       elsif (/^--install.prefix=(.*)$/)
+                               {
+                               $install_prefix=$1;
+@@ -923,7 +928,7 @@
+ $openssldir=$prefix . "/ssl" if $openssldir eq "";
+ $openssldir=$prefix . "/" . $openssldir if $openssldir !~ /(^\/|^[a-zA-Z]:[\\\/])/;
+-
++$enginesdir="$prefix/lib/engines" if $enginesdir eq "";
+ print "IsMK1MF=$IsMK1MF\n";
+@@ -1430,7 +1435,7 @@
+       if      (/^#define\s+OPENSSLDIR/)
+               { print OUT "#define OPENSSLDIR \"$openssldir\"\n"; }
+       elsif   (/^#define\s+ENGINESDIR/)
+-              { print OUT "#define ENGINESDIR \"$prefix/lib/engines\"\n"; }
++              { print OUT "#define ENGINESDIR \"$enginesdir\"\n"; }
+       elsif   (/^#((define)|(undef))\s+OPENSSL_EXPORT_VAR_AS_FUNCTION/)
+               { printf OUT "#undef OPENSSL_EXPORT_VAR_AS_FUNCTION\n"
+                       if $export_var_as_fn;