openwrtv4/package
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>
2016-07-04 16:26:26 +02:00
..
base-files base-files: seed /dev/urandom 2016-06-30 22:48:39 +02:00
boot packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
devel packages: prefer http over git for git protocol 2016-06-22 19:32:06 +02:00
firmware ath10k-firmware: add symlink for QCA9984 board.bin 2016-07-02 19:34:50 +02:00
kernel kernel: fix duplicate drivers for the PC speaker in one package 2016-07-03 19:35:43 +02:00
libs ustream-ssl: Fix recursive dependency 2016-07-04 10:51:41 +02:00
network odhcp6c: Upstep to latest version 2016-06-30 14:53:21 +02:00
system procd: Set /dev/kmsg to 600 2016-07-02 10:16:18 +02:00
utils e2fsprogs: fix build on OS X systems 2016-07-04 16:26:26 +02:00
Makefile include: choose package output directory based on repository info 2016-04-06 21:55:44 +02:00