Skip to content

Commit 6fe0683

Browse files
Merge pull request #603 from mxaddict/fix-curl-ssl
Updated depends to use winssl for windows and darwinssl for osx
2 parents da5377e + b89c092 commit 6fe0683

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

depends/packages/curl.mk

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package=curl
2-
$(package)_version=7.64.1
2+
$(package)_version=7.65.3
33
$(package)_download_path=https://curl.haxx.se/download/
44
$(package)_file_name=$(package)-$($(package)_version).tar.xz
5-
$(package)_sha256_hash=9252332a7f871ce37bfa7f78bdd0a0e3924d8187cc27cb57c76c9474a7168fb3
5+
$(package)_sha256_hash=f2d98854813948d157f6a91236ae34ca4a1b4cb302617cebad263d79b0235fea
66
$(package)_dependencies=openssl
77
$(package)_patches=fix_lib_order.patch
88

@@ -11,9 +11,10 @@ define $(package)_preprocess_cmds
1111
endef
1212

1313
define $(package)_set_vars
14-
$(package)_config_env=CURL_CFLAG_EXTRAS="-DBUILDING_LIBCURL"
15-
$(package)_config_opts=--with-ssl=$(host_prefix) --enable-static --disable-shared --without-libidn2 --with-pic
16-
$(package)_config_opts_mingw32=--with-random=/dev/urandom
14+
$(package)_config_opts=--enable-static --disable-shared --without-libidn2 --with-pic
15+
$(package)_config_opts_linux=--with-ssl=$(host_prefix)
16+
$(package)_config_opts_darwin=--without-ssl --with-secure-transport
17+
$(package)_config_opts_mingw32=--without-ssl --with-schannel --with-random=/dev/urandom
1718
$(package)_config_opts_x86_64_mingw32=--target=x86_64-w64-mingw32
1819
$(package)_config_opts_i686_mingw32=--target=i686-w64-mingw32
1920
endef
Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
1-
--- old/configure.ac 2015-08-10 14:53:48.000000000 +0200
2-
+++ new/configure.ac 2017-03-16 06:25:39.388000000 +0100
3-
@@ -1480,7 +1480,7 @@
4-
*-*-msys* | *-*-mingw*)
5-
AC_MSG_CHECKING([for gdi32])
6-
my_ac_save_LIBS=$LIBS
7-
- LIBS="-lgdi32 $LIBS"
8-
+ LIBS="$LIBS -lgdi32"
9-
AC_TRY_LINK([#include <windef.h>
10-
#include <wingdi.h>],
11-
[GdiFlush();],
12-
--- old/configure 2017-03-16 06:34:00.292000000 +0100
13-
+++ new/configure 2017-03-16 06:34:39.192000000 +0100
1+
--- a/configure
2+
+++ b/configure
3+
@@ -22234,8 +22234,7 @@ fi
4+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Secure Transport" >&5
5+
$as_echo_n "checking whether to enable Secure Transport... " >&6; }
6+
if test -z "$ssl_backends" -o "x$OPT_SECURETRANSPORT" != xno; then
7+
- if test "x$OPT_SECURETRANSPORT" != "xno" &&
8+
- test -d "/System/Library/Frameworks/Security.framework"; then
9+
+ if test "x$OPT_SECURETRANSPORT" != "xno"; then
10+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11+
$as_echo "yes" >&6; }
12+
1413
@@ -21647,7 +21647,7 @@
1514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdi32" >&5
1615
$as_echo_n "checking for gdi32... " >&6; }
@@ -20,14 +19,14 @@
2019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120
/* end confdefs.h. */
2221
#include <windef.h>
23-
--- old/src/Makefile.am 2015-06-11 19:50:43.000000000 +0200
24-
+++ new/src/Makefile.am 2017-03-19 00:35:23.656000000 +0100
25-
@@ -54,7 +54,7 @@
26-
include Makefile.inc
27-
22+
--- a/src/Makefile.am
23+
+++ b/src/Makefile.am
24+
@@ -55,7 +55,7 @@ include Makefile.inc
25+
curl_SOURCES = $(CURL_FILES)
26+
2827
# This might hold -Werror
2928
-CFLAGS += @CURL_CFLAG_EXTRAS@
3029
+CFLAGS += @CURL_CFLAG_EXTRAS@ -DBUILDING_LIBCURL
31-
30+
3231
# Prevent LIBS from being used for all link targets
3332
LIBS = $(BLANK_AT_MAKETIME)

0 commit comments

Comments
 (0)