diff --git a/www/curl/distinfo b/www/curl/distinfo index f6430e969..67c93745b 100644 --- a/www/curl/distinfo +++ b/www/curl/distinfo @@ -5,4 +5,6 @@ RMD160 (curl-7.44.0.tar.bz2) = d7e4a2406c5fea9445c13e725dd421d7198389a6 Size (curl-7.44.0.tar.bz2) = 3398814 bytes SHA1 (patch-aa) = 793701d5ecc3343170fb437906c9adb74763cd13 SHA1 (patch-curl-config.in) = d0cc7bb6a5bf0b9257f40dcffce7093cc0098eb7 +SHA1 (patch-lib_connect.c) = afe17a36b02d0694542a2d22b20c4231b966cf57 SHA1 (patch-lib_hostcheck.c) = 8e772d3f91cdafae17281cc19004269ece0cf308 +SHA1 (patch-zz-minix) = cab5eef4c9f57ba919487267e7e0513c7f6803cd diff --git a/www/curl/patches/patch-lib_connect.c b/www/curl/patches/patch-lib_connect.c new file mode 100644 index 000000000..57f862bbb --- /dev/null +++ b/www/curl/patches/patch-lib_connect.c @@ -0,0 +1,11 @@ +--- lib/connect.c.orig Fri Apr 18 15:48:42 2014 ++++ lib/connect.c Fri Apr 18 15:49:19 2014 +@@ -506,7 +506,7 @@ static bool verifyconnect(curl_socket_t sockfd, int *e + err = 0; + } + #endif +-#ifdef __minix ++#if defined EBADIOCTL && defined __minix + /* Minix 3.1.x doesn't support getsockopt on UDP sockets */ + if(EBADIOCTL == err) { + SET_SOCKERRNO(0); diff --git a/www/curl/patches/patch-zz-minix b/www/curl/patches/patch-zz-minix new file mode 100644 index 000000000..63d5e5c75 --- /dev/null +++ b/www/curl/patches/patch-zz-minix @@ -0,0 +1,57 @@ +--- configure.orig Sat Apr 25 06:44:05 2015 ++++ configure Sat Apr 25 06:47:08 2015 +@@ -8444,7 +8444,7 @@ + lt_cv_sys_max_cmd_len=8192; + ;; + +- netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) ++ minix* | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) + # This has been around since 386BSD, at least. Likely further. + if test -x /sbin/sysctl; then + lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` +@@ -8935,7 +8935,7 @@ + lt_cv_deplibs_check_method=pass_all + ;; + +-netbsd* | netbsdelf*-gnu) ++minix* | netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then + lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' + else +@@ -12704,7 +12704,7 @@ + fi + ;; + +- netbsd* | netbsdelf*-gnu) ++ minix* | netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' + wlarc= +@@ -13333,7 +13333,7 @@ + link_all_deplibs=yes + ;; + +- netbsd* | netbsdelf*-gnu) ++ minix* | netbsd* | netbsdelf*-gnu) + if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then + archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out + else +@@ -14347,6 +14347,18 @@ + # people can always --disable-shared, the test was removed, and we + # assume the GNU/Linux dynamic linker is in use. + dynamic_linker='GNU/Linux ld.so' ++ ;; ++ ++minix*) ++ version_type=linux ++ need_lib_prefix=no ++ need_version=no ++ library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' ++ soname_spec='${libname}${release}${shared_ext}$major' ++ shlibpath_var=LD_LIBRARY_PATH ++ shlibpath_overrides_runpath=no ++ hardcode_into_libs=yes ++ dynamic_linker='Minix ld.elf_so' + ;; + + netbsdelf*-gnu)