sway-no-seat: Fix build of subprojects/seatd with clang.

See #276
This commit is contained in:
Dylan Araps 2021-07-12 14:16:49 +03:00
parent 0ba4a68a52
commit 70af83516d
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -3,6 +3,10 @@
patch -p1 < sway-static.patch
patch -p1 < no-evdev.patch
# Build fails in subprojects/seatd with clang
# due to -Werror -> -Wsign-compare.
export CFLAGS="-Wno-error $CFLAGS"
# Remove conflict between static libseat and wlroots.
sed 's/\(const long NSEC\)/static \1/' \
subprojects/seatd/common/log.c > _