Commit Graph

6 Commits (c61a2395140d92cdd37d3d6ee43a765427e8e318)

Author SHA1 Message Date
Jo-Philipp Wich 70b4e46804 e2fsprogs: fix build on OS X systems
On OS X systems, the compilation of e2fsprogs fails at subst.c due to a
missing sys/stat.h include:

    subst.c:333:14: error: variable has incomplete type 'struct stat'
            struct stat stbuf;
                        ^
    subst.c:333:9: note: forward declaration of 'struct stat'
            struct stat stbuf;
                   ^
    subst.c:392:8: warning: implicit declaration of function 'fstat' is invalid in C99
          [-Wimplicit-function-declaration]
                            if (fstat(fd, &stbuf) == 0) {
                                ^
    subst.c:438:12: warning: implicit declaration of function 'fchmod' is invalid in C99
          [-Wimplicit-function-declaration]
                                    (void) fchmod(ofd, 0444);
                                           ^
    2 warnings and 1 error generated.
    make[3]: *** [subst.o] Error 1

Declare the nescessary HAVE_SYS_STAT_H macro to include the required header in
order to avoid the undeclared stat structure.

Tested-By: David Thornley <david.thornley@touchstargroup.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years ago
Felix Fietkau 262ebee943 e2fsprogs: update to the latest version, fixes musl build failure
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45075
9 years ago
Jo-Philipp Wich 6dbc1bb24d Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4.

SVN-Revision: 37798
11 years ago
Luka Perkov 7cea65c80a e2fsprogs: update to 1.42.8 and add e4defrag
Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 37588
11 years ago
Felix Fietkau dc2c976be2 e2fsprogs: change the so-version of libcom_err to prevent conflicts, move it into the libext2fs package, get rid of the pthread dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37076
11 years ago
John Crispin 4ebf19b48f packages: clean up the package folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37007
11 years ago