Bug#388242: cyrus-imapd-2.2: FTBFS on GNU/kFreeBSD
Petr Salinger
Petr.Salinger at seznam.cz
Tue Sep 19 10:01:23 UTC 2006
Package: cyrus-imapd-2.2
Severity: important
Version: 2.2.13-7
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs small tweak to configure.in/configure.
Please find attached patch with tweak for configure.in
and updated configure.
It would also be nice if you can ask upstream
to include this change.
Thanks in advance
Petr
-------------- next part --------------
diff -urN debian/patches/00list debian/patches/00list
--- debian/patches/00list 2006-09-19 13:35:49.000000000 +0200
+++ debian/patches/00list 2006-09-19 13:27:26.000000000 +0200
@@ -51,4 +51,5 @@
72-faster-isdigit.dpatch
75-update-imapd.conf-documentation.dpatch
77-change-missing-sieve-notice.dpatch
+78-kbsd-no-psstrings.dpatch
99-update-autoconf.dpatch
diff -urN debian/patches/78-kbsd-no-psstring.dpatch debian/patches/78-kbsd-no-psstring.dpatch
--- debian/patches/78-kbsd-no-psstrings.dpatch 1970-01-01 01:00:00.000000000 +0100
+++ debian/patches/78-kbsd-no-psstrings.dpatch 2006-09-19 13:27:35.000000000 +0200
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: disable PS_STRINGS for GNU/kFreeBSD
+
+ at DPATCH@
+--- cyrus-imapd-2.2-2.2.13/configure.in
++++ cyrus-imapd-2.2-2.2.13/configure.in
+@@ -300,7 +284,7 @@
+ AC_CACHE_VAL(cyrus_cv_sys_psstrings, AC_TRY_CPP([
+ #include <machine/vmparam.h>
+ #include <sys/exec.h>
+-#ifndef PS_STRINGS
++#if !defined(PS_STRINGS) || defined (__GLIBC__)
+ #include </nonexistent>
+ #endif],cyrus_cv_sys_psstrings=yes,cyrus_cv_sys_psstrings=no))
+ if test $cyrus_cv_sys_psstrings = yes; then
+--- cyrus-imapd-2.2-2.2.13/configure~ 2006-09-19 13:20:14.000000000 +0200
++++ cyrus-imapd-2.2-2.2.13/configure 2006-09-19 13:20:14.000000000 +0200
+@@ -10557,7 +10557,7 @@
+
+ #include <machine/vmparam.h>
+ #include <sys/exec.h>
+-#ifndef PS_STRINGS
++#if !defined(PS_STRINGS) || defined (__GLIBC__)
+ #include </nonexistent>
+ #endif
+ _ACEOF
+
More information about the Pkg-Cyrus-imapd-Debian-devel
mailing list