From 3c509673672dfacba862e92ade239cbce93ec3d9 Mon Sep 17 00:00:00 2001
From: Jerome Duval <jerome.duval@gmail.com>
Date: Wed, 10 Sep 2014 16:24:50 +0000
Subject: gcc2 patch


diff --git a/lib/wordsplit.h b/lib/wordsplit.h
index d64cf2f..c93f53d 100644
--- a/lib/wordsplit.h
+++ b/lib/wordsplit.h
@@ -34,9 +34,9 @@ struct wordsplit
   const char *ws_escape;
   void (*ws_alloc_die) (struct wordsplit * wsp);
   void (*ws_error) (const char *, ...)
-                   __attribute__ ((__format__ (__printf__, 1, 2)));
+;
   void (*ws_debug) (const char *, ...)
-                   __attribute__ ((__format__ (__printf__, 1, 2)));
+;
 
   const char **ws_env;
   const char *(*ws_getvar) (const char *, size_t, void *);
diff --git a/src/tar.c b/src/tar.c
index cd32379..d975e37 100644
--- a/src/tar.c
+++ b/src/tar.c
@@ -566,11 +566,10 @@ static struct argp_option options[] = {
    N_("cancel the effect of --delay-directory-restore option"), GRID+1 },
   {"sort", SORT_OPTION, N_("ORDER"), 0,
 #if D_INO_IN_DIRENT
-   N_("directory sorting order: none (default), name or inode"
+   N_("directory sorting order: none (default), name or inode"), GRID+1 },
 #else
-   N_("directory sorting order: none (default) or name"
+   N_("directory sorting order: none (default) or name"), GRID+1 },
 #endif
-     ), GRID+1 },
 #undef GRID
 
 #define GRID 55
-- 
2.2.2

