mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 20:24:35 +03:00
Add compat mode for systems without openat(2)
This commit is contained in:

committed by
BenBE

parent
638207a2ff
commit
2ff2859c23
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -13,6 +13,11 @@ jobs:
|
||||
run: ./autogen.sh
|
||||
- name: Configure
|
||||
run: ./configure --enable-werror --enable-linux-affinity --disable-unicode --disable-sensors
|
||||
- name: Enable compatibility modes
|
||||
run: |
|
||||
sed -i 's/#define HAVE_FSTATAT 1/#undef HAVE_FSTATAT/g' config.h
|
||||
sed -i 's/#define HAVE_OPENAT 1/#undef HAVE_OPENAT/g' config.h
|
||||
sed -i 's/#define HAVE_READLINKAT 1/#undef HAVE_READLINKAT/g' config.h
|
||||
- name: Build
|
||||
run: make -k
|
||||
- name: Distcheck
|
||||
|
Reference in New Issue
Block a user