mirror of
https://github.com/kdave/btrfs-progs
synced 2025-01-21 21:12:55 +00:00
btrfs-progs: ci: fix libreiserfs build
The CI build fails with: ../include/misc.h:76:26: error: unknown type name ‘loff_t’; did you mean ‘off_t’? 76 | int valid_offset(int fd, loff_t offset); | ^~~~~~ | off_t Add the right define that will bring the symbol. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
09252e76ae
commit
e05111d11e
@ -23,6 +23,9 @@ cd "$dir"
|
||||
wget https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v${version}/reiserfsprogs-${version}.tar.xz
|
||||
tar xf reiserfsprogs-${version}.tar.xz
|
||||
cd reiserfsprogs-${version}
|
||||
# Compilation fails as loff_t is not defined without the define
|
||||
export CFLAGS
|
||||
CFLAGS=-D_GNU_SOURCE
|
||||
./configure --prefix=/usr
|
||||
make all
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user