pkgsrc/mail/cyrus-imapd23/patches/patch-aa
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

27 lines
1.1 KiB
Text

$NetBSD: patch-aa,v 1.3 2011/09/09 11:56:19 obache Exp $
--- configure.in.orig 2011-09-08 18:02:23.000000000 +0000
+++ configure.in
@@ -391,11 +391,11 @@ if test "$sievedir" != "no"; then
AC_CHECK_LIB(fl,main)
AC_CHECK_HEADERS(pcreposix.h rxposix.h)
- if test "$ac_cv_header_pcreposix_h" == "yes"; then
+ if test "$ac_cv_header_pcreposix_h" = "yes"; then
LIBS="$LIBS -lpcre -lpcreposix";
AC_DEFINE(ENABLE_REGEX, [], [Do we have a regex library?])
else
- if test "$ac_cv_header_rxposix_h" == "yes"; then
+ if test "$ac_cv_header_rxposix_h" = "yes"; then
LIBS="$LIBS -lrx"
AC_DEFINE(ENABLE_REGEX, [],
[Do we have a regex library?])
@@ -1146,7 +1146,7 @@ dnl libraries will be compiled as PIC if
dnl -- this is needed on NetBSD, FreeBSD, and Linux, but seems to
dnl cause problems on atleast Solaris --
case "${target_os}" in
- linux*|netbsd*|freebsd*)
+ linux*|netbsd*|freebsd*|dragonfly*)
AC_MSG_CHECKING(for perl cccdlflags needed on "${target_os}")
eval `${PERL} -V:cccdlflags`
PERL_CCCDLFLAGS="$cccdlflags"