mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
lirc: remove confusing static config.h in lirc 0.10.2 release package
Left over lib/lirc/config.h lead to "LIRC_LOCKDIR" redefined to not existing
"/var/lock/lockdir" (beside others):
/home/docker/LibreELEC.tv/build.LibreELEC-gbm.x86_64-12.0-devel-mg/build/lirc-0.10.2/lib/lirc/config.h:198: warning: "LIRC_LOCKDIR" redefined
198 | #define LIRC_LOCKDIR "/var/lock/lockdev"
|
In file included from /home/docker/LibreELEC.tv/build.LibreELEC-gbm.x86_64-12.0-devel-mg/build/lirc-0.10.2/lib/driver.c:12:
./config.h:198: note: this is the location of the previous definition
198 | #define LIRC_LOCKDIR "/var/lock"
|
Furthermore define lock dir because lirc's configure does check the host system and use
/var/lock/lockdev if existing.
This commit is contained in:
@@ -16,7 +16,14 @@ PKG_CONFIGURE_OPTS_TARGET="--enable-devinput \
|
|||||||
--enable-uinput \
|
--enable-uinput \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--without-x \
|
--without-x \
|
||||||
--runstatedir=/run"
|
--runstatedir=/run \
|
||||||
|
--with-lockdir=/var/lock"
|
||||||
|
|
||||||
|
post_unpack() {
|
||||||
|
# remove confusing static config.h in lirc 0.10.2 release package (temp fix)
|
||||||
|
# lead to "LIRC_LOCKDIR" redefined to "/var/lock/lockdir"
|
||||||
|
rm ${PKG_BUILD}/lib/lirc/config.h
|
||||||
|
}
|
||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
export HAVE_WORKING_POLL=yes
|
export HAVE_WORKING_POLL=yes
|
||||||
|
|||||||
Reference in New Issue
Block a user