Package Details: lid-switch-dpms 1.1-1

Git Clone URL: https://aur.archlinux.org/lid-switch-dpms.git (read-only, click to copy)
Package Base: lid-switch-dpms
Description: Blank and unblank the screen on lid switch
Upstream URL: https://github.com/kitsunyan/lid-switch-dpms
Licenses: GPL3
Submitter: kitsunyan
Maintainer: kitsunyan
Last Packager: kitsunyan
Votes: 0
Popularity: 0.000000
First Submitted: 2018-06-12 04:01 (UTC)
Last Updated: 2018-06-12 04:53 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2023-12-01 15:12 (UTC) (edited on 2023-12-01 15:14 (UTC) by dreieck)

Build fails with stropts.h: No such file or directory:

gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -flto=auto \
-I/usr/include/libdrm -ldrm \
-lX11 -lXext -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto -o daemon daemon.c
daemon.c:7:10: fatal error: stropts.h: No such file or directory
    7 | #include <stropts.h>
      |          ^~~~~~~~~~~
compilation terminated.

↗ Upstream issue report.

Regards!