diff options
author | Peter Pentchev <roam@FreeBSD.org> | 2002-06-24 16:03:00 +0000 |
---|---|---|
committer | Peter Pentchev <roam@FreeBSD.org> | 2002-06-24 16:03:00 +0000 |
commit | 66087db901b7c4d6e28ea576323b2b0860cbae14 (patch) | |
tree | 47130291cd049d55b9d62bf22a5ea4d01e93ea3c /ftp/curl/files/patch-configure | |
parent | o Update to 0.7.7.20020523 (diff) |
Fix a segfault in an IPv4-only case - realloc() may really, well,
"reallocate" memory even when the programmer only asks for a resizing
of the region.
Reported by: Steve Ames <steve@energistic.com>
While I'm here, change the way SSL header and library paths are handled
to avoid specifically referencing /usr/lib and /usr/include; while
-STABLE's GCC shrugs this off, GCC 3.1 whines loudly about an explicit
-I/usr/include (and rightly so, IMHO).
Notes
Notes:
svn path=/head/; revision=61882
Diffstat (limited to 'ftp/curl/files/patch-configure')
-rw-r--r-- | ftp/curl/files/patch-configure | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ftp/curl/files/patch-configure b/ftp/curl/files/patch-configure new file mode 100644 index 000000000000..47ebc57b8ef6 --- /dev/null +++ b/ftp/curl/files/patch-configure @@ -0,0 +1,13 @@ +--- configure.curl Mon Jun 24 17:23:46 2002 ++++ configure Mon Jun 24 17:24:10 2002 +@@ -9868,8 +9868,10 @@ + EXTRA_SSL= ;; + *) + EXTRA_SSL=$OPT_SSL ++ if [ ! "$EXTRA_SSL" = "/usr" ]; then + LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib" + CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include" ++ fi + ;; + esac + |