aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/e2fsprogs/patches
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-08-16 09:29:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-08-16 09:29:31 +0000
commit6dbc1bb24de47ec2c6fbb154d1a5ee6a04c6a86f (patch)
treed5c5cdb3705113a252dd9dfdd1f04d53a308ca20 /package/utils/e2fsprogs/patches
parente83cacd2c1ace05f22f1f7566db8ae1090169c5c (diff)
downloadupstream-6dbc1bb24de47ec2c6fbb154d1a5ee6a04c6a86f.tar.gz
upstream-6dbc1bb24de47ec2c6fbb154d1a5ee6a04c6a86f.tar.bz2
upstream-6dbc1bb24de47ec2c6fbb154d1a5ee6a04c6a86f.zip
Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4. SVN-Revision: 37798
Diffstat (limited to 'package/utils/e2fsprogs/patches')
-rw-r--r--package/utils/e2fsprogs/patches/001-link-against-libuuid.patch8
-rw-r--r--package/utils/e2fsprogs/patches/002-no_malloc_h.patch10
-rw-r--r--package/utils/e2fsprogs/patches/003-com_err_version.patch13
3 files changed, 27 insertions, 4 deletions
diff --git a/package/utils/e2fsprogs/patches/001-link-against-libuuid.patch b/package/utils/e2fsprogs/patches/001-link-against-libuuid.patch
index 2c84d95008..e0564dc355 100644
--- a/package/utils/e2fsprogs/patches/001-link-against-libuuid.patch
+++ b/package/utils/e2fsprogs/patches/001-link-against-libuuid.patch
@@ -1,6 +1,6 @@
--- a/configure
+++ b/configure
-@@ -5111,7 +5111,7 @@ if ${ac_cv_lib_blkid_blkid_get_cache+:}
+@@ -5038,7 +5038,7 @@ if test "${ac_cv_lib_blkid_blkid_get_cac
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
@@ -11,7 +11,7 @@
--- a/misc/Makefile.in
+++ b/misc/Makefile.in
-@@ -147,10 +147,10 @@ partinfo: partinfo.o
+@@ -146,10 +146,10 @@ partinfo: partinfo.o
$(E) " LD $@"
$(Q) $(CC) $(ALL_LDFLAGS) -o partinfo partinfo.o
@@ -24,7 +24,7 @@
tune2fs: $(TUNE2FS_OBJS) $(DEPLIBS) $(DEPLIBS_E2P) $(DEPLIBBLKID) \
$(DEPLIBUUID) $(DEPLIBQUOTA) $(LIBEXT2FS)
-@@ -290,9 +290,9 @@ dumpe2fs.profiled: $(DUMPE2FS_OBJS) $(PR
+@@ -289,9 +289,9 @@ dumpe2fs.profiled: $(PROFILED_DUMPE2FS_O
$(PROFILED_DUMPE2FS_OBJS) $(PROFILED_LIBS) \
$(PROFILED_LIBE2P) $(PROFILED_LIBUUID) $(LIBINTL)
@@ -34,5 +34,5 @@
- $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBINTL)
+ $(Q) $(CC) $(ALL_LDFLAGS) -o fsck $(FSCK_OBJS) $(LIBBLKID) $(LIBUUID) $(LIBINTL)
- fsck.profiled: $(FSCK_OBJS) $(PROFILED_DEPLIBBLKID)
+ fsck.profiled: $(PROFILED_FSCK_OBJS) $(PROFILED_DEPLIBBLKID)
$(E) " LD $@"
diff --git a/package/utils/e2fsprogs/patches/002-no_malloc_h.patch b/package/utils/e2fsprogs/patches/002-no_malloc_h.patch
new file mode 100644
index 0000000000..209b47c1cc
--- /dev/null
+++ b/package/utils/e2fsprogs/patches/002-no_malloc_h.patch
@@ -0,0 +1,10 @@
+--- a/util/symlinks.c
++++ b/util/symlinks.c
+@@ -8,7 +8,6 @@
+ #endif
+ #include <stdio.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <sys/param.h>
diff --git a/package/utils/e2fsprogs/patches/003-com_err_version.patch b/package/utils/e2fsprogs/patches/003-com_err_version.patch
new file mode 100644
index 0000000000..62f1e08e71
--- /dev/null
+++ b/package/utils/e2fsprogs/patches/003-com_err_version.patch
@@ -0,0 +1,13 @@
+--- a/lib/et/Makefile.in
++++ b/lib/et/Makefile.in
+@@ -25,8 +25,8 @@ SHARE_FILES= et_c.awk et_h.awk
+ LIBRARY= libcom_err
+ LIBDIR= et
+
+-ELF_VERSION = 2.1
+-ELF_SO_VERSION = 2
++ELF_VERSION = 0.0
++ELF_SO_VERSION = 0
+ ELF_IMAGE = libcom_err
+ ELF_MYDIR = et
+ ELF_INSTALL_DIR = $(root_libdir)