pkgsrc/mail/cyrus-imapd23/patches/patch-ab
obache 9f153e728b Update cyrus-imapd23 to 2.3.17.
(add an patch to fix compilation on perl 5.14)

Changes to the Cyrus IMAP Server since 2.3.16

      * Fix for CVE-2011-3208, a remotely exploitable buffer overflow in
        nntpd
2011-09-09 11:56:19 +00:00

29 lines
1,003 B
Text

$NetBSD: patch-ab,v 1.3 2011/09/09 11:56:19 obache Exp $
--- configure.orig 2011-09-08 18:03:46.000000000 +0000
+++ configure
@@ -7171,13 +7171,13 @@ fi
done
- if test "$ac_cv_header_pcreposix_h" == "yes"; then
+ if test "$ac_cv_header_pcreposix_h" = "yes"; then
LIBS="$LIBS -lpcre -lpcreposix";
$as_echo "#define ENABLE_REGEX /**/" >>confdefs.h
else
- if test "$ac_cv_header_rxposix_h" == "yes"; then
+ if test "$ac_cv_header_rxposix_h" = "yes"; then
LIBS="$LIBS -lrx"
$as_echo "#define ENABLE_REGEX /**/" >>confdefs.h
@@ -10411,7 +10411,7 @@ elif test "${with_perl}" != "no"; then
PERL_SUBDIRS="imap"
PERL="${with_perl}"
case "${target_os}" in
- linux*|netbsd*|freebsd*)
+ linux*|netbsd*|freebsd*|dragonfly*)
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl cccdlflags needed on \"${target_os}\"" >&5
$as_echo_n "checking for perl cccdlflags needed on \"${target_os}\"... " >&6; }
eval `${PERL} -V:cccdlflags`