Skip to contentSkip to conversation

dosfstools: Restore support for the -h option to mkdosfs

PATCH New Peter Kjellerstedt 1 participant 1 message Mar 10, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dosfstools: Restore support for the -h option to mkdosfs

From: Emma Holmberg Ohlsson <[email protected]>

The support for the -h option to mkdosfs was accidentally removed when the target and native versions of the recipe were unified back in Dylan...

---
 recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch | 2 +-
 recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
recipes-devtools/dosfstools/dosfstools/mkdosfs-bootcode.patch +1 -1
index ae21bee..872fd82 100644
@@ -183,7 +183,7 @@ Index: dosfstools-2.11/mkdosfs/mkdosfs.c
  	   program_name);
  
 -  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:h:v")) != EOF)
-+  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:v:B:")) != EOF)
++  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:h:v:B:")) != EOF)
      /* Scan the command line for options */
      switch (c)
        {
recipes-devtools/dosfstools/dosfstools/mkdosfs-dir.patch +2 -2
index 3ba4711..9643932 100644
@@ -609,8 +609,8 @@ Index: dosfstools-2.11/mkdosfs/mkdosfs.c
    printf ("%s " VERSION " (" VERSION_DATE ")\n",
  	   program_name);
  
--  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:v:B:")) != EOF)
-+  while ((c = getopt (argc, argv, "AbcCd:f:F:Ii:l:m:n:r:R:s:S:v:B:")) != EOF)
+-  while ((c = getopt (argc, argv, "AbcCf:F:Ii:l:m:n:r:R:s:S:h:v:B:")) != EOF)
++  while ((c = getopt (argc, argv, "AbcCd:f:F:Ii:l:m:n:r:R:s:S:h:v:B:")) != EOF)
      /* Scan the command line for options */
      switch (c)
        {
Signature · 1 line
2.9.0