Skip to content

Commit c58efa4

Browse files
openssl patch 6
1 parent de2105a commit c58efa4

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

depends/packages/openssl.mk

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ $(package)_version_suffix=u
44
$(package)_download_path=https://www.openssl.org/source/old/$($(package)_version)
55
$(package)_file_name=$(package)-$($(package)_version)$($(package)_version_suffix).tar.gz
66
$(package)_sha256_hash=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
7-
$(package)_patches=secure_getenv.patch
7+
8+
# PATCHES (must use +=, not =)
9+
$(package)_patches += secure_getenv.patch
10+
$(package)_patches += domd_cc.patch
811

912
define $(package)_set_vars
1013
$(package)_config_env=AR="$($(package)_ar)" RANLIB="$($(package)_ranlib)" CC="$($(package)_cc)"
@@ -60,6 +63,7 @@ endef
6063

6164
define $(package)_preprocess_cmds
6265
patch -p1 < $($(package)_patch_dir)/secure_getenv.patch && \
66+
patch -p1 < $($(package)_patch_dir)/domd_cc.patch && \
6367
sed -i.old "/define DATE/d" util/mkbuildinf.pl && \
6468
sed -i.old "s|engines apps test|engines|" Makefile.org && \
6569
sed -i.old "s#^CC=.*#CC=$($(package)_cc)#" Configure
@@ -80,4 +84,4 @@ endef
8084

8185
define $(package)_postprocess_cmds
8286
rm -rf share bin etc
83-
endef
87+
endef
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
--- a/util/domd
2+
+++ b/util/domd
3+
@@ -31,7 +31,7 @@
4+
# We assume that perl is in your path. If you want to use a different
5+
# perl then uncomment the following line and fix the path to perl
6+
#
7+
-CC=clang
8+
+CC="${CC:-cc}"

0 commit comments

Comments
 (0)