From 66087db901b7c4d6e28ea576323b2b0860cbae14 Mon Sep 17 00:00:00 2001 From: Peter Pentchev Date: Mon, 24 Jun 2002 16:03:00 +0000 Subject: 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 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). --- ftp/curl/files/patch-configure | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ftp/curl/files/patch-configure (limited to 'ftp/curl/files/patch-configure') 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 + -- cgit v1.2.3