]> git.deb.at Git - pkg/abook.git/blob - debian/patches/03_datafile-f-switch
Add -std=gnu89 to CFLAGS to fix FTBFS with gcc-5
[pkg/abook.git] / debian / patches / 03_datafile-f-switch
1 Author: Gerfried Fuchs <rhonda@debian.org>      vim:ft=diff:
2 Description: Let --datafile also work through -f short option
3
4 Index: b/abook.c
5 ===================================================================
6 --- a/abook.c
7 +++ b/abook.c
8 @@ -331,7 +331,7 @@ parse_command_line(int argc, char **argv
9                         { 0, 0, 0, 0 }
10                 };
11  
12 -               c = getopt_long(argc, argv, "hC:",
13 +               c = getopt_long(argc, argv, "hC:f:",
14                                 long_options, &option_index);
15  
16                 if(c == -1)