openbsd-ports/www/cherokee/patches/patch-configure
ajacoutot d16d96252f SECURITY: CVE-2009-4489
http://www.vupen.com/english/advisories/2010/0090
(thanks fgsch@ for the link/notice)

Update to cherokee-0.99.39.
Remove debug FLAVOR and use ifdef DEBUG.
Add rrdtool to run_depends.
Byte-compile python modules so that they are registered in the PLIST.

Be careful as cherokee is not started using ${PREFIX}/sbin/cherokee, not
cherokee-guardian anymore.

Fernando Quintero (maintainer) ok
MESSAGE tweak and ok sthen@, ok jasper@
2010-01-13 08:47:57 +00:00

39 lines
1.2 KiB
Plaintext

$OpenBSD: patch-configure,v 1.7 2010/01/13 08:47:57 ajacoutot Exp $
--- configure.orig Tue Jan 12 10:27:34 2010
+++ configure Tue Jan 12 10:28:23 2010
@@ -16613,13 +16613,13 @@ $as_echo "no" >&6; }
esac
if test "$have_pthread" != "yes"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lpthread" >&5
-$as_echo_n "checking for main in -lpthread... " >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -pthread" >&5
+$as_echo_n "checking for main in -pthread... " >&6; }
if test "${ac_cv_lib_pthread_main+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread $LIBS"
+LIBS="-pthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -16650,7 +16650,7 @@ else
fi
if test "$have_pthread" = "yes"; then
- PTHREAD_LIBS="-lpthread"
+ PTHREAD_LIBS="-pthread"
fi
fi
@@ -20249,7 +20249,7 @@ if test "${ac_cv_lib_avformat_main+set}" = set; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lavformat $LIBS"
+LIBS="-lavformat -pthread $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */