From: Denis Briand Date: Sun, 27 Dec 2015 23:09:08 +0000 (+0100) Subject: minor patch cosmetic changes X-Git-Tag: debian/0.6.1-1~17 X-Git-Url: https://git.deb.at/w?p=pkg%2Fabook.git;a=commitdiff_plain;h=5584b77ff36bbdb176374c23252743ea696e895f minor patch cosmetic changes --- diff --git a/debian/patches/03_datafile-f-switch b/debian/patches/03_datafile-f-switch deleted file mode 100644 index 90bec8d..0000000 --- a/debian/patches/03_datafile-f-switch +++ /dev/null @@ -1,14 +0,0 @@ -Author: Gerfried Fuchs vim:ft=diff: -Description: Let --datafile also work through -f short option - ---- a/abook.c -+++ b/abook.c -@@ -342,7 +342,7 @@ parse_command_line(int argc, char **argv - { 0, 0, 0, 0 } - }; - -- c = getopt_long(argc, argv, "hC:", -+ c = getopt_long(argc, argv, "hC:f:", - long_options, &option_index); - - if(c == -1) diff --git a/debian/patches/03_datafile-f-switch.diff b/debian/patches/03_datafile-f-switch.diff new file mode 100644 index 0000000..f211e7d --- /dev/null +++ b/debian/patches/03_datafile-f-switch.diff @@ -0,0 +1,16 @@ +Author: Gerfried Fuchs vim:ft=diff: +Description: Let --datafile also work through -f short option +============================================================================== +Index: abook/abook.c +=================================================================== +--- abook.orig/abook.c ++++ abook/abook.c +@@ -342,7 +342,7 @@ parse_command_line(int argc, char **argv + { 0, 0, 0, 0 } + }; + +- c = getopt_long(argc, argv, "hC:", ++ c = getopt_long(argc, argv, "hC:f:", + long_options, &option_index); + + if(c == -1) diff --git a/debian/patches/series b/debian/patches/series index 293ebcf..f2f3c78 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1 @@ -03_datafile-f-switch +03_datafile-f-switch.diff