Initial commit
This commit is contained in:
11
tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch
Normal file
11
tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/e2fsck/e2fsck.h
|
||||
+++ b/e2fsck/e2fsck.h
|
||||
@@ -73,7 +73,7 @@
|
||||
* Exit codes used by fsck-type programs
|
||||
*/
|
||||
#define FSCK_OK 0 /* No errors */
|
||||
-#define FSCK_NONDESTRUCT 1 /* File system errors corrected */
|
||||
+#define FSCK_NONDESTRUCT 0 /* File system errors corrected */
|
||||
#define FSCK_REBOOT 2 /* System should be rebooted */
|
||||
#define FSCK_UNCORRECTED 4 /* File system errors left uncorrected */
|
||||
#define FSCK_ERROR 8 /* Operational error */
|
||||
11
tools/e2fsprogs/patches/002-dont-build-e4defrag.patch
Normal file
11
tools/e2fsprogs/patches/002-dont-build-e4defrag.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/misc/Makefile.in
|
||||
+++ b/misc/Makefile.in
|
||||
@@ -11,7 +11,7 @@ INSTALL = @INSTALL@
|
||||
|
||||
@MCONFIG@
|
||||
|
||||
-@DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_PROG= e4defrag
|
||||
+@DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_PROG=
|
||||
@DEFRAG_CMT@@LINUX_CMT@E4DEFRAG_MAN= e4defrag.8
|
||||
|
||||
@LINUX_CMT@E4CRYPT_PROG = e4crypt
|
||||
12
tools/e2fsprogs/patches/003-openbsd-compat.patch
Normal file
12
tools/e2fsprogs/patches/003-openbsd-compat.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
--- a/lib/blkid/getsize.c
|
||||
+++ b/lib/blkid/getsize.c
|
||||
@@ -29,6 +29,9 @@
|
||||
#include <fcntl.h>
|
||||
#ifdef HAVE_SYS_IOCTL_H
|
||||
#include <sys/ioctl.h>
|
||||
+#ifdef __OpenBSD__
|
||||
+#include <sys/dkio.h>
|
||||
+#endif
|
||||
#endif
|
||||
#ifdef HAVE_LINUX_FD_H
|
||||
#include <linux/fd.h>
|
||||
22
tools/e2fsprogs/patches/004-darwin-compat.patch
Normal file
22
tools/e2fsprogs/patches/004-darwin-compat.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
--- a/lib/blkid/blkid_types.h.in
|
||||
+++ b/lib/blkid/blkid_types.h.in
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
@ASM_TYPES_HEADER@
|
||||
|
||||
+#include <stdint.h>
|
||||
+
|
||||
#ifndef HAVE___U8
|
||||
#define HAVE___U8
|
||||
#ifdef __U8_TYPEDEF
|
||||
--- a/lib/ext2fs/ext2_types.h.in
|
||||
+++ b/lib/ext2fs/ext2_types.h.in
|
||||
@@ -9,6 +9,8 @@
|
||||
|
||||
@ASM_TYPES_HEADER@
|
||||
|
||||
+#include <stdint.h>
|
||||
+
|
||||
#ifndef HAVE___U8
|
||||
#define HAVE___U8
|
||||
#ifdef __U8_TYPEDEF
|
||||
Reference in New Issue
Block a user