[SVN] r626 - in /trunk/cyrus-imapd-2.2.13/debian/patches: 00list
80-kbsd-no-psstrings.dpatch
debian at incase.de
debian at incase.de
Mon Sep 25 18:42:45 UTC 2006
Author: sven
Date: Mon Sep 25 20:42:43 2006
New Revision: 626
URL: https://mail.incase.de/viewcvs?rev=626&root=cyrus22&view=rev
Log:
Add patch to configure.in to fix the FTBFS bug on GNU/kFreeBSD
Added:
trunk/cyrus-imapd-2.2.13/debian/patches/80-kbsd-no-psstrings.dpatch (with props)
Modified:
trunk/cyrus-imapd-2.2.13/debian/patches/00list
Modified: trunk/cyrus-imapd-2.2.13/debian/patches/00list
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/patches/00list?rev=626&root=cyrus22&r1=625&r2=626&view=diff
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/patches/00list (original)
+++ trunk/cyrus-imapd-2.2.13/debian/patches/00list Mon Sep 25 20:42:43 2006
@@ -51,4 +51,5 @@
72-faster-isdigit.dpatch
75-update-imapd.conf-documentation.dpatch
77-change-missing-sieve-notice.dpatch
+80-kbsd-no-psstrings.dpatch
99-update-autoconf.dpatch
Added: trunk/cyrus-imapd-2.2.13/debian/patches/80-kbsd-no-psstrings.dpatch
URL: https://mail.incase.de/viewcvs/trunk/cyrus-imapd-2.2.13/debian/patches/80-kbsd-no-psstrings.dpatch?rev=626&root=cyrus22&view=auto
==============================================================================
--- trunk/cyrus-imapd-2.2.13/debian/patches/80-kbsd-no-psstrings.dpatch (added)
+++ trunk/cyrus-imapd-2.2.13/debian/patches/80-kbsd-no-psstrings.dpatch Mon Sep 25 20:42:43 2006
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 80-kbsd-no-psstring
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: disable PS_STRINGS for GNU/kFreeBSD
+
+ at DPATCH@
+diff -urNad cyrus-imapd-2.2.13/configure.in /tmp/dpep.6LRag9/cyrus-imapd-2.2.13/configure.in
+--- cyrus-imapd-2.2.13/configure.in 2006-09-25 20:13:04.000000000 +0200
++++ /tmp/dpep.6LRag9/cyrus-imapd-2.2.13/configure.in 2006-09-25 20:13:06.102258297 +0200
+@@ -297,16 +297,15 @@
+ fi
+ if test "$spt_type" = ""; then
+ AC_MSG_CHECKING(for PS_STRINGS)
+- AC_CACHE_VAL(cyrus_cv_sys_psstrings, AC_TRY_CPP([
++AC_CACHE_VAL(cyrus_cv_sys_psstrings, AC_COMPILE_IFELSE([
+ #include <machine/vmparam.h>
+ #include <sys/exec.h>
+-#ifndef PS_STRINGS
+-#include </nonexistent>
+-#endif],cyrus_cv_sys_psstrings=yes,cyrus_cv_sys_psstrings=no))
+- if test $cyrus_cv_sys_psstrings = yes; then
+- spt_type=SPT_PSSTRINGS
+- fi
+- AC_MSG_RESULT($cyrus_cv_sys_psstrings)
++void *p = PS_STRINGS;
++],cyrus_cv_sys_psstrings=yes,cyrus_cv_sys_psstrings=no))
++ if test $cyrus_cv_sys_psstrings = yes; then
++ spt_type=SPT_PSSTRINGS
++ fi
++ AC_MSG_RESULT($cyrus_cv_sys_psstrings)
+ fi
+ if test "$spt_type" = ""; then
+ AC_MSG_CHECKING(for SCO)
Propchange: trunk/cyrus-imapd-2.2.13/debian/patches/80-kbsd-no-psstrings.dpatch
------------------------------------------------------------------------------
svn:executable = *
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list