]> git.deb.at Git - pkg/abook.git/commitdiff
minor patch cosmetic changes
authorDenis Briand <debian@denis-briand.fr>
Sun, 27 Dec 2015 23:09:08 +0000 (00:09 +0100)
committerDenis Briand <debian@denis-briand.fr>
Sun, 27 Dec 2015 23:09:08 +0000 (00:09 +0100)
debian/patches/03_datafile-f-switch [deleted file]
debian/patches/03_datafile-f-switch.diff [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/03_datafile-f-switch b/debian/patches/03_datafile-f-switch
deleted file mode 100644 (file)
index 90bec8d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-Author: Gerfried Fuchs <rhonda@debian.org>     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 (file)
index 0000000..f211e7d
--- /dev/null
@@ -0,0 +1,16 @@
+Author: Gerfried Fuchs <rhonda@debian.org>   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)
index 293ebcf4ce7890d6ee753208ab05cba9e7052fd0..f2f3c7840d383fda021efde0a62b1f257e0667c0 100644 (file)
@@ -1 +1 @@
-03_datafile-f-switch
+03_datafile-f-switch.diff