Jelajahi Sumber

e2fsprogs: fix compile on Darwin

Waldemar Brodkorb 7 tahun lalu
induk
melakukan
883ee0df76

+ 3 - 3
package/e2fsprogs/patches/patch-debugfs_set_fields_c

@@ -1,6 +1,6 @@
---- e2fsprogs-1.42.12.orig/debugfs/set_fields.c	2014-08-19 14:24:52.000000000 +0200
-+++ e2fsprogs-1.42.12/debugfs/set_fields.c	2015-02-24 13:49:44.483474041 +0100
-@@ -34,7 +34,6 @@
+--- e2fsprogs-1.43.2.orig/debugfs/set_fields.c	2016-06-08 23:39:43.000000000 +0200
++++ e2fsprogs-1.43.2/debugfs/set_fields.c	2016-09-19 13:19:14.000000000 +0200
+@@ -35,7 +35,6 @@
  #include <strings.h>
  #endif
  #include <fcntl.h>

+ 3 - 3
package/e2fsprogs/patches/patch-e2fsck_Makefile_in

@@ -1,6 +1,6 @@
---- e2fsprogs-1.42.12.orig/e2fsck/Makefile.in	2014-08-02 22:26:22.000000000 +0200
-+++ e2fsprogs-1.42.12/e2fsck/Makefile.in	2015-02-24 13:53:08.463908514 +0100
-@@ -120,7 +120,7 @@ e2fsck: $(OBJS)  $(DEPLIBS)
+--- e2fsprogs-1.43.2.orig/e2fsck/Makefile.in	2016-06-07 07:01:19.000000000 +0200
++++ e2fsprogs-1.43.2/e2fsck/Makefile.in	2016-09-19 13:19:14.000000000 +0200
+@@ -115,7 +115,7 @@ e2fsck: $(OBJS)  $(DEPLIBS)
  
  e2fsck.static: $(OBJS) $(STATIC_DEPLIBS)
  	$(E) "	LD $@"

+ 13 - 3
package/e2fsprogs/patches/patch-util_subst_c

@@ -1,6 +1,16 @@
---- e2fsprogs-1.42.12.orig/util/subst.c	2014-08-02 22:26:22.000000000 +0200
-+++ e2fsprogs-1.42.12/util/subst.c	2015-02-24 13:53:42.034808695 +0100
-@@ -363,7 +363,7 @@ int main(int argc, char **argv)
+--- e2fsprogs-1.43.2.orig/util/subst.c	2016-06-07 07:01:19.000000000 +0200
++++ e2fsprogs-1.43.2/util/subst.c	2016-09-19 13:21:04.000000000 +0200
+@@ -22,9 +22,7 @@
+ #ifdef HAVE_SYS_TYPES_H
+ #include <sys/types.h>
+ #endif
+-#ifdef HAVE_SYS_STAT_H
+ #include <sys/stat.h>
+-#endif
+ #include <fcntl.h>
+ #include <time.h>
+ #include <utime.h>
+@@ -389,7 +387,7 @@ int main(int argc, char **argv)
  		if (fd > 0) {
  			/* save the original atime, if possible */
  			if (fstat(fd, &stbuf) == 0) {