wok annotate cyrus-imapd/stuff/50-FTBFS-gcc-4.0-fix.dpatch @ rev 1577

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