[packages] dosfstools: update to 3.0.12, add fsck script (#10697)
[packages.git] / utils / dosfstools / patches / 002-linux_26_headers.patch
index c4d506f..b55a7c8 100644 (file)
@@ -4,31 +4,29 @@
     can be found in /usr/share/common-licenses/GPL-3 file.
  */
  
--# include <asm/types.h>
+-#include <asm/types.h>
 +#include <linux/types.h>
  
  #ifndef _COMMON_H
  #define _COMMON_H
 --- a/src/dosfsck.h
 +++ b/src/dosfsck.h
-@@ -32,8 +32,8 @@
- #define _LINUX_STRING_H_      /* hack to avoid inclusion of <linux/string.h>*/
- #define _LINUX_FS_H             /* hack to avoid inclusion of <linux/fs.h> */
+@@ -31,7 +31,7 @@
+ #define _LINUX_STRING_H_      /* hack to avoid inclusion of <linux/string.h> */
+ #define _LINUX_FS_H           /* hack to avoid inclusion of <linux/fs.h> */
  
--# include <asm/types.h>
--# include <asm/byteorder.h>
+-#include <asm/types.h>
 +#include <linux/types.h>
-+#include <asm/byteorder.h>
+ #include <asm/byteorder.h>
  
  #include <linux/msdos_fs.h>
 --- a/src/file.c
 +++ b/src/file.c
-@@ -34,7 +34,7 @@
- #define _LINUX_STRING_H_      /* hack to avoid inclusion of <linux/string.h>*/
- #define _LINUX_FS_H             /* hack to avoid inclusion of <linux/fs.h> */
+@@ -33,7 +33,7 @@
+ #define _LINUX_STRING_H_      /* hack to avoid inclusion of <linux/string.h> */
+ #define _LINUX_FS_H           /* hack to avoid inclusion of <linux/fs.h> */
  
--# include <asm/types.h>
+-#include <asm/types.h>
 +#include <linux/types.h>
  
  #include <linux/msdos_fs.h>
@@ -49,7 +47,7 @@
  #include <time.h>
  #include <errno.h>
  
--# include <asm/types.h>
+-#include <asm/types.h>
 +#include <linux/types.h>
  
  #if __BYTE_ORDER == __BIG_ENDIAN