/[gentoo-x86]/sys-fs/e2fsprogs/files/e2fsprogs-1.42-no-quota.patch
Gentoo

Contents of /sys-fs/e2fsprogs/files/e2fsprogs-1.42-no-quota.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Dec 7 16:51:08 2011 UTC (3 years ago) by vapier
Branch: MAIN
Bump to final 1.42 release #392637 by Christian Inci.  Add half-assed USE=static-libs support #377537 by Agostino Sarubbo.

(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)

1 quota was meant to be turned off in the 1.42 release as it's half
2 baked, but the commit to disable didn't really work either.
3
4 --- a/lib/quota/Makefile.in
5 +++ b/lib/quota/Makefile.in
6 @@ -76,7 +76,8 @@
7 $(DESTDIR)$(includedir)/quota $(DESTDIR)$(man3dir) \
8 $(DESTDIR)$(libdir)/pkgconfig
9
10 -install:: all installdirs
11 +install::
12 +disabled:: all installdirs
13 $(E) " INSTALL_DATA $(libdir)/libquota.a"
14 $(Q) $(INSTALL_DATA) libquota.a $(DESTDIR)$(libdir)/libquota.a
15 -$(Q) $(RANLIB) $(DESTDIR)$(libdir)/libquota.a
16 --- a/configure
17 +++ b/configure
18 @@ -5224,11 +5224,11 @@
19
20 fi
21
22 -LIBQUOTA='$(LIB)/libquota'$LIB_EXT
23 +LIBQUOTA=
24 DEPLIBQUOTA=$LIBQUOTA
25 -STATIC_LIBQUOTA='$(LIB)/libquota'$STATIC_LIB_EXT
26 +STATIC_LIBQUOTA=
27 DEPSTATIC_LIBQUOTA=$STATIC_LIBQUOTA
28 -PROFILED_LIBQUOTA='$(LIB)/libquota'$PROFILED_LIB_EXT
29 +PROFILED_LIBQUOTA=
30 DEPPROFILED_LIBQUOTA=$PROFILED_LIBQUOTA
31
32
33 --- a/lib/quota/mkquota.h
34 +++ b/lib/quota/mkquota.h
35 @@ -60,4 +60,17 @@
36 int quota_file_exists(ext2_filsys fs, int qtype, int fmt);
37 void quota_set_sb_inum(ext2_filsys fs, ext2_ino_t ino, int qtype);
38
39 +#define quota_init_context(a, ...)
40 +#define quota_data_inodes(a, ...)
41 +#define quota_data_add(a, ...)
42 +#define quota_data_sub(a, ...)
43 +#define quota_write_inode(a, ...)
44 +#define quota_update_inode(a, ...) 0
45 +#define quota_compute_usage(a, ...)
46 +#define quota_release_context(a, ...)
47 +#define quota_remove_inode(a, ...)
48 +#define quota_is_on(a, ...)
49 +#define quota_file_exists(a, ...) -1
50 +#define quota_set_sb_inum(a, ...)
51 +
52 #endif /* __QUOTA_QUOTAIO_H__ */
53 --- a/lib/quota/quotaio.h
54 +++ b/lib/quota/quotaio.h
55 @@ -167,4 +167,7 @@
56 const char *quota_get_qf_path(const char *mntpt, int qtype, int fmt,
57 char *path_buf, size_t path_buf_size);
58
59 +#define quota_get_qf_name(a, ...)
60 +#define quota_get_qf_path(a, ...)
61 +
62 #endif /* GUARD_QUOTAIO_H */

  ViewVC Help
Powered by ViewVC 1.1.20