openwrt-mirror/package
Nick Hainke abec62a542 mdadm: fix compilation with musl 1.2.4
_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Fixes error in the form of:
restripe.c: In function 'restore_stripes':
restripe.c:758:43: error: 'off64_t' undeclared (first use in this function); did you mean 'off_t'?
  758 |                                          (off64_t)read_offset) {
      |                                           ^~~~~~~
      |                                           off_t
restripe.c:758:43: note: each undeclared identifier is reported only once for each function it appears in
restripe.c:758:51: error: expected ')' before 'read_offset'
  758 |                                          (off64_t)read_offset) {
      |                                                   ^~~~~~~~~~~
      |                                                   )
restripe.c:757:36: note: to match this '('
  757 |                                 if (lseek64(source, read_offset, 0) !=
      |                                    ^
make[3]: *** [Makefile:193: restripe.o] Error 1

Fixes: fff878c5bc ("toolchain/musl: update to 1.2.4")
Signed-off-by: Nick Hainke <vincent@systemli.org>
2023-05-16 22:54:29 +02:00
..
base-files base-files: Do not break on non-eth ports 2023-05-09 22:54:38 +02:00
boot ramips: add support for Linksys RE7000 2023-05-09 11:52:53 +02:00
devel strace: update to 6.3 2023-05-15 15:12:10 +02:00
firmware linux-firmware: move firmware file for mt7601u 2023-05-15 22:03:46 +02:00
kernel kernel: ltq-ptm: fix compilation warning for vr9 2023-05-14 18:04:33 +02:00
libs libbsd: fix compilation with musl 1.2.4 2023-05-16 14:31:14 +02:00
network ethtool: update to 6.3 2023-05-15 15:24:45 +02:00
system ath79: add Cisco Meraki MR18 2023-05-14 00:08:35 +02:00
utils mdadm: fix compilation with musl 1.2.4 2023-05-16 22:54:29 +02:00
Makefile build: generate index.json 2023-05-09 23:56:49 +02:00