diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2020-08-03 13:13:52 +0000 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2020-08-03 13:13:52 +0000 |
commit | 7b3a81295054c8f00864efcdbf276b3def97b3fe (patch) | |
tree | 7247b59000a00f06681ade6d8d745ba5304495b6 /sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp | |
parent | Update to v5.33.0-198-g3134649473. (diff) |
Update to 4.14.0-3 and added new options:
- MFWMANAGER to add mstfwmanager and mstarchive tools;
- ADAB to add mstreg and mstlink tools;
- STATIC to reduce the final packages size brings by libboost dependency;
- Prepare the upcoming -lite sub port.
PR: 242038
Approved by: hselasky (maintainer timeout)
Sponsored by: Netflix
Notes
Notes:
svn path=/head/; revision=544066
Diffstat (limited to 'sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp')
-rw-r--r-- | sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp b/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp new file mode 100644 index 000000000000..9b272356c8e0 --- /dev/null +++ b/sysutils/mstflint/files/extrat-patch-mlxfwupdate_server_request.cpp @@ -0,0 +1,23 @@ +--- mlxfwupdate/server_request.cpp.orig 2020-01-09 00:45:10.200149000 +0100 ++++ mlxfwupdate/server_request.cpp 2020-01-09 00:46:56.459627000 +0100 +@@ -43,9 +43,7 @@ + + + using namespace std; +-#ifndef USE_CURL +-#define USE_CURL +-#endif ++#undef USE_CURL + + extern int abort_request; + +@@ -62,7 +60,9 @@ ServerRequest::ServerRequest(const char *url, const ch + _show_progress = show_progress; + _ceritifcate = certificate; + _numberOfRetrials = numberOfRetrials; ++#ifdef USE_CURL + _headers = NULL; ++#endif + if (proxy != NULL) { + if (proxy[0] != 0) { + _UseProxy = 1; |