You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/utils
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
..
admswconfig package: flag further target specific packages as nonshared 8 years ago
bsdiff bsdiff: add missing host build dependency on bzip2 (fixes #21990) 8 years ago
busybox busybox: Call ntpd hotplug script for every action 8 years ago
bzip2 bzip2: install to STAGING_DIR/host instead of STAGING_DIR/host/usr 9 years ago
e2fsprogs e2fsprogs: fix build on OS X systems 8 years ago
fbtest fbtest: remove bogus #include 9 years ago
fuse cosmetic: remove trailing whitespaces 9 years ago
hostap-utils license info - revert r43155 10 years ago
jsonfilter jsonfilter: update to latest git HEAD 8 years ago
lua treewide: replace jow@openwrt.org with jo@mein.io 8 years ago
mdadm treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
mkelfimage cosmetic: remove trailing whitespaces 9 years ago
nand-utils nand-utile: add package 8 years ago
nvram nvram: install init.d quirks script on brcm47xx only 8 years ago
oseama oseama: support extracting entity 8 years ago
otrx package: remove duplicate lines from otrx and nvram makefiles 8 years ago
px5g treewide: replace jow@openwrt.org with jo@mein.io 8 years ago
px5g-standalone px5g-standalone: activate format-security checks 9 years ago
spidev_test spidev_test: copy the source code into the package folder 8 years ago
ubi-utils global: change my email address 8 years ago
ugps package/*: update git urls for project repos 8 years ago
usbmode package/*: update git urls for project repos 8 years ago
usbreset license info - revert r43155 10 years ago
usbutils treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
util-linux util-linux: fix scanf fallback detection for uClibc-ng 8 years ago
xfsprogs xfsprogs: activate format-security checks 9 years ago