freebsd-ports/devel/gnomevfs/files/patch-aa
Maxim Sobolev b8c349e9fa Prevent OpenSSL detection, because otherwise re-entrancy issues will cause
galeon to coredump in MD2_Update(). Bump PORTREVISION.

Prompted by:    Joe Marcus Clarke <marcus@marcuscom.com>
2002-01-26 08:05:29 +00:00

65 lines
2 KiB
Text

$FreeBSD$
--- configure.orig Thu Jan 24 10:25:14 2002
+++ configure Thu Jan 24 10:38:00 2002
@@ -5949,7 +5949,7 @@
VFS_GNOMEUI_LIBS="`gnome-config --libs gnome gnomeui`"
VFS_GNOMEGNORBA_LIBS="`gnome-config --libs gnome gnomeui gnorba`"
VFS_CAPPLET_LIBS="`gnome-config --libs gnome gnomeui capplet`"
-VFS_GLIB_CONFIG="glib-config"
+VFS_GLIB_CONFIG="$GLIB_CONFIG"
@@ -9854,8 +9854,8 @@
done
fi
-echo $ac_n "checking for bzCompressInit in -lbz2""... $ac_c" 1>&6
-echo "configure:9859: checking for bzCompressInit in -lbz2" >&5
+echo $ac_n "checking for BZ2_bzCompressInit in -lbz2""... $ac_c" 1>&6
+echo "configure:9859: checking for BZ2_bzCompressInit in -lbz2" >&5
ac_lib_var=`echo bz2'_'bzCompressInit | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -9868,10 +9868,10 @@
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char bzCompressInit();
+char BZ2_bzCompressInit();
int main() {
-bzCompressInit()
+BZ2_bzCompressInit()
; return 0; }
EOF
if { (eval echo configure:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
@@ -10101,7 +10101,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
- LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl"
+ LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcryptofoo"
cat > conftest.$ac_ext <<EOF
#line 10107 "configure"
#include "confdefs.h"
@@ -10135,7 +10135,7 @@
EOF
msg_openssl="yes"
- OPENSSL_LDFLAGS="-L$with_openssl_libs -lssl -lcrypto -ldl"
+ OPENSSL_LDFLAGS="-L$with_openssl_libs -lssl -lcryptofoo"
if true; then
@@ -10594,7 +10594,7 @@
s%@GTK_CFLAGS@%$GTK_CFLAGS%g
s%@GTK_LIBS@%$GTK_LIBS%g
s%@cflags_set@%$cflags_set%g
-s%@PTHREAD_LIB@%$PTHREAD_LIB%g
+s%@PTHREAD_LIB@%$BSD_PTHREAD_LIBS%g
s%@ALLOCA@%$ALLOCA%g
s%@USE_NLS@%$USE_NLS%g
s%@MSGFMT@%$MSGFMT%g