chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / openssl / no-hw-option.patch
1 "openssl 1.0.0b fails to install when compiled with the no-hw option"
2 http://rt.openssl.org/Ticket/Display.html?id=2384&user=guest&pass=guest
3
4 On part is extracted to Configure.patch
5
6 diff -u -r ../openssl-1.0.1f/engines/Makefile ./engines/Makefile
7 --- ../openssl-1.0.1f/engines/Makefile  2014-01-06 15:36:06.000000000 +0100
8 +++ ./engines/Makefile  2014-03-02 22:04:09.000000000 +0100
9 @@ -113,6 +113,7 @@
10                           pfx=lib; \
11                           if [ "$(PLATFORM)" != "Cygwin" ]; then \
12                                 case "$(CFLAGS)" in \
13 +                               *OPENSSL_NO_HW*)        echo ... skipping install OPENSSL_NO_HW defined; continue;; \
14                                 *DSO_BEOS*)     sfx=".so";;     \
15                                 *DSO_DLFCN*)    sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;;    \
16                                 *DSO_DL*)       sfx=".sl";;     \
17 diff -u -r ../openssl-1.0.1f/engines/ccgost/Makefile ./engines/ccgost/Makefile
18 --- ../openssl-1.0.1f/engines/ccgost/Makefile   2014-01-06 15:36:06.000000000 +0100
19 +++ ./engines/ccgost/Makefile   2014-03-02 22:04:09.000000000 +0100
20 @@ -47,6 +47,7 @@
21                 pfx=lib; \
22                 if [ "$(PLATFORM)" != "Cygwin" ]; then \
23                         case "$(CFLAGS)" in \
24 +                       *OPENSSL_NO_HW*)        echo ... skipping install OPENSSL_NO_HW defined; exit;; \
25                         *DSO_BEOS*) sfx=".so";; \
26                         *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
27                         *DSO_DL*) sfx=".sl";; \