aboutsummaryrefslogtreecommitdiff
path: root/ftp/curl/files
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2004-04-09 12:14:13 +0000
committerPeter Pentchev <roam@FreeBSD.org>2004-04-09 12:14:13 +0000
commitbcc2c336a4d34a79120d96d7fc1ce48e0b72a149 (patch)
tree2d00db27212f3004304e714030651d87f8e42219 /ftp/curl/files
parentb6c27fee7e25ecc8f4e36a37eb33dd24f016016f (diff)
Notes
Diffstat (limited to 'ftp/curl/files')
-rw-r--r--ftp/curl/files/patch-configure8
-rw-r--r--ftp/curl/files/patch-lib::hostip.c14
2 files changed, 11 insertions, 11 deletions
diff --git a/ftp/curl/files/patch-configure b/ftp/curl/files/patch-configure
index 47ebc57b8ef6..cdee47ca403f 100644
--- a/ftp/curl/files/patch-configure
+++ b/ftp/curl/files/patch-configure
@@ -1,11 +1,11 @@
---- configure.curl Mon Jun 24 17:23:46 2002
-+++ configure Mon Jun 24 17:24:10 2002
-@@ -9868,8 +9868,10 @@
+--- configure.orig Fri Apr 9 14:00:52 2004
++++ configure Fri Apr 9 14:01:29 2004
+@@ -24123,8 +24123,10 @@
EXTRA_SSL= ;;
*)
EXTRA_SSL=$OPT_SSL
+ 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"
+ fi
;;
diff --git a/ftp/curl/files/patch-lib::hostip.c b/ftp/curl/files/patch-lib::hostip.c
index d913c91b37e4..4c15c91a7222 100644
--- a/ftp/curl/files/patch-lib::hostip.c
+++ b/ftp/curl/files/patch-lib::hostip.c
@@ -1,16 +1,16 @@
---- lib/hostip.c.orig Tue May 13 05:12:17 2003
-+++ lib/hostip.c Sun Jun 15 18:44:13 2003
-@@ -497,11 +497,11 @@
+--- lib/hostip.c.orig Fri Apr 9 14:28:07 2004
++++ lib/hostip.c Fri Apr 9 14:29:12 2004
+@@ -887,11 +887,11 @@
/* now, shrink the allocated buffer to the size we actually need, which
most often is only a fraction of the original alloc */
-- newbuf=(char *)realloc(*buf, (int)bufptr-(int)(*buf));
-+ newbuf=(char *)realloc(*buf, (int)(bufptr-*buf));
+- newbuf=(char *)realloc(*buf, (long)bufptr-(long)(*buf));
++ newbuf=(char *)realloc(*buf, (long)(bufptr-*buf));
/* if the alloc moved, we need to adjust things again */
if(newbuf != *buf)
-- hostcache_fixoffset((struct hostent*)newbuf, (int)newbuf-(int)*buf);
-+ hostcache_fixoffset((struct hostent*)newbuf, (int)(newbuf-*buf));
+- hostcache_fixoffset((struct hostent*)newbuf, (long)newbuf-(long)*buf);
++ hostcache_fixoffset((struct hostent*)newbuf, (long)(newbuf-*buf));
/* setup the return */
*buf = newbuf;