tools: mtd-utils: Update to version 2.1.2
[openwrt/staging/nbd.git] / tools / mtd-utils / patches / 320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch
index 8e5805957692528fe59734aae3b56377dd67ebfd..f3ba4d327622f7c6bfb8b3e6ce741c484ee06da8 100644 (file)
@@ -9,7 +9,7 @@
  int target_endian = __BYTE_ORDER;
  
  static uint32_t find_hardlink(struct filesystem_entry *e)
-@@ -250,8 +250,8 @@ static struct filesystem_entry *add_host
+@@ -251,8 +251,8 @@ static struct filesystem_entry *add_host
                        mode &= ~(S_ISUID | S_ISGID);
                }
        }
@@ -20,7 +20,7 @@
        }
  
        entry = xcalloc(1, sizeof(struct filesystem_entry));
-@@ -1557,6 +1557,20 @@ static void parse_image(void){
+@@ -1558,6 +1558,20 @@ static void parse_image(void){
        close(in_fd);
  }
  
@@ -41,7 +41,7 @@
  int main(int argc, char **argv)
  {
        int c, opt;
-@@ -1575,6 +1589,7 @@ int main(int argc, char **argv)
+@@ -1576,6 +1590,7 @@ int main(int argc, char **argv)
                warn_page_size = 1; /* warn user if page size not 4096 */
  
        jffs2_compressors_init();
@@ -49,7 +49,7 @@
  
        while ((opt = getopt_long(argc, argv,
                                        "D:d:r:s:o:qUPfh?vVe:lbp::nc:m:x:X:Lty:i:", long_options, &c)) >= 0)
-@@ -1625,7 +1640,7 @@ int main(int argc, char **argv)
+@@ -1626,7 +1641,7 @@ int main(int argc, char **argv)
                                break;
  
                        case 'f':