Use patched git for curl

This commit is contained in:
Jeremy Soller 2019-02-19 20:19:31 -07:00
parent 1cebcf5f48
commit e8b6055fb9
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1
2 changed files with 3 additions and 13 deletions

View File

@ -1,5 +1,7 @@
VERSION="7.62.0"
TAR=https://curl.haxx.se/download/curl-$VERSION.tar.gz
#TAR=https://curl.haxx.se/download/curl-$VERSION.tar.gz
GIT=https://gitlab.redox-os.org/redox-os/curl.git
GIT_BRANCH=redox
BUILD_DEPENDS=(openssl zlib)
DEPENDS="ca-certificates"

View File

@ -1,12 +0,0 @@
diff -ruw source/include/curl/curl.h source-new/include/curl/curl.h
--- source/include/curl/curl.h 2018-10-30 10:53:59.000000000 -0600
+++ source-new/include/curl/curl.h 2018-12-10 12:42:52.504393368 -0700
@@ -74,7 +74,7 @@
#if defined(_AIX) || defined(__NOVELL_LIBC__) || defined(__NetBSD__) || \
defined(__minix) || defined(__SYMBIAN32__) || defined(__INTEGRITY) || \
defined(ANDROID) || defined(__ANDROID__) || defined(__OpenBSD__) || \
- defined(__CYGWIN__) || \
+ defined(__CYGWIN__) || defined(__redox__) || \
(defined(__FreeBSD_version) && (__FreeBSD_version < 800000))
#include <sys/select.h>
#endif