wok view cyrus-imapd/stuff/50-FTBFS-gcc-4.0-fix.dpatch @ rev 4493
Up: amsn (0.98.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Nov 18 22:02:57 2009 +0000 (2009-11-18) |
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 ;