Update to curl 7.11.1.

This commit is contained in:
Peter Pentchev 2004-04-09 12:14:13 +00:00
parent b6c27fee7e
commit bcc2c336a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106566
4 changed files with 14 additions and 15 deletions

View file

@ -6,8 +6,7 @@
# #
PORTNAME= curl PORTNAME= curl
PORTVERSION= 7.11.0 PORTVERSION= 7.11.1
PORTREVISION= 1
CATEGORIES= ftp ipv6 www CATEGORIES= ftp ipv6 www
MASTER_SITES= http://curl.haxx.se/download/ \ MASTER_SITES= http://curl.haxx.se/download/ \
${MASTER_SITE_SOURCEFORGE} \ ${MASTER_SITE_SOURCEFORGE} \

View file

@ -1,2 +1,2 @@
MD5 (curl-7.11.0.tar.bz2) = cf511e78eb12fbb1efc6c4e0ca4e5120 MD5 (curl-7.11.1.tar.bz2) = c2af7c3364a1a8839516f74961b6bd11
SIZE (curl-7.11.0.tar.bz2) = 1073493 SIZE (curl-7.11.1.tar.bz2) = 1130097

View file

@ -1,11 +1,11 @@
--- configure.curl Mon Jun 24 17:23:46 2002 --- configure.orig Fri Apr 9 14:00:52 2004
+++ configure Mon Jun 24 17:24:10 2002 +++ configure Fri Apr 9 14:01:29 2004
@@ -9868,8 +9868,10 @@ @@ -24123,8 +24123,10 @@
EXTRA_SSL= ;; EXTRA_SSL= ;;
*) *)
EXTRA_SSL=$OPT_SSL EXTRA_SSL=$OPT_SSL
+ if [ ! "$EXTRA_SSL" = "/usr" ]; then + if [ ! "$EXTRA_SSL" = "/usr" ]; then
LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib" LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib$libsuff"
CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include"
+ fi + fi
;; ;;

View file

@ -1,16 +1,16 @@
--- lib/hostip.c.orig Tue May 13 05:12:17 2003 --- lib/hostip.c.orig Fri Apr 9 14:28:07 2004
+++ lib/hostip.c Sun Jun 15 18:44:13 2003 +++ lib/hostip.c Fri Apr 9 14:29:12 2004
@@ -497,11 +497,11 @@ @@ -887,11 +887,11 @@
/* now, shrink the allocated buffer to the size we actually need, which /* now, shrink the allocated buffer to the size we actually need, which
most often is only a fraction of the original alloc */ most often is only a fraction of the original alloc */
- newbuf=(char *)realloc(*buf, (int)bufptr-(int)(*buf)); - newbuf=(char *)realloc(*buf, (long)bufptr-(long)(*buf));
+ newbuf=(char *)realloc(*buf, (int)(bufptr-*buf)); + newbuf=(char *)realloc(*buf, (long)(bufptr-*buf));
/* if the alloc moved, we need to adjust things again */ /* if the alloc moved, we need to adjust things again */
if(newbuf != *buf) if(newbuf != *buf)
- hostcache_fixoffset((struct hostent*)newbuf, (int)newbuf-(int)*buf); - hostcache_fixoffset((struct hostent*)newbuf, (long)newbuf-(long)*buf);
+ hostcache_fixoffset((struct hostent*)newbuf, (int)(newbuf-*buf)); + hostcache_fixoffset((struct hostent*)newbuf, (long)(newbuf-*buf));
/* setup the return */ /* setup the return */
*buf = newbuf; *buf = newbuf;