openbsd-ports/www/cherokee/patches/patch-configure
sthen 833e2f8858 - update to 0.99.20
- unbreak group setting; Cherokee assumed a fixed size 1k buffer for
getgrnam_r which is insufficient on some OS, including OpenBSD. symptom
was that group setting resulted in ERANGE. This just bumps the buffer
to 8k which isn't a perfect fix, but serves our purposes for now;
see ports@ archives at http://marc.info/?t=124832494600002&r=1&w=2
for more discussion.

maintainer ok.
2009-07-27 17:06:16 +00:00

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.6 2009/07/27 17:06:16 sthen Exp $
--- configure.orig Wed Jul 1 14:57:31 2009
+++ configure Thu Jul 23 22:57:56 2009
@@ -32366,13 +32366,13 @@ echo "${ECHO_T}no" >&6; }
esac
if test "$have_pthread" != "yes"; then
- { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
-echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
+ { echo "$as_me:$LINENO: checking for main in -pthread" >&5
+echo $ECHO_N "checking for main in -pthread... $ECHO_C" >&6; }
if test "${ac_cv_lib_pthread_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -32428,7 +32428,7 @@ else
fi
if test "$have_pthread" = "yes"; then
- PTHREAD_LIBS="-lpthread"
+ PTHREAD_LIBS="-pthread"
fi
fi
@@ -39215,7 +39215,7 @@ if test "${ac_cv_lib_avformat_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lavformat $LIBS"
+LIBS="-lavformat -pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF