wok view cyrus-imapd/stuff/50-FTBFS-gcc-4.0-fix.dpatch @ rev 1776

claws-mail: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 28 17:29:27 2008 +0000 (2008-11-28)
parents
children 53ce5256aa41
line source
1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## 50-FTBFS-gcc-4.0-fix.dpatch by Ondřej Surý <ondrej@sury.org>
3 ##
4 ## All lines beginning with `## DP:' are a description of the patch.
5 ## DP: Fix FTBFS when compiling with gcc-4.0, there is imapopts is used before declared
7 @DPATCH@
8 diff -urN cyrus22-imapd-2.2.12~/tools/config2header cyrus22-imapd-2.2.12/tools/config2header
9 --- cyrus22-imapd-2.2.12~/tools/config2header 2004-06-22 21:02:31.000000000 +0200
10 +++ cyrus22-imapd-2.2.12/tools/config2header 2005-06-22 07:56:17.180293688 +0200
11 @@ -214,7 +214,6 @@
12 print HFILE <<EOF
13 IMAPOPT_LAST
14 };
15 -extern struct imapopt_s imapopts[];
17 enum enum_value {
18 IMAP_ENUM_ZERO = 0,
19 @@ -260,6 +259,8 @@
21 print HFILE <<EOF
22 };
23 +extern struct imapopt_s imapopts[];
24 +
25 #endif /* INCLUDED_IMAPOPTIONS_H */
26 EOF
27 ;