diff options
author | Bastien Nocera <hadess@hadess.net> | 2021-08-10 12:55:51 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2021-08-10 12:59:16 +0200 |
commit | e66c7da2d263e8feb6ff0d85a89d52df5b5fdcdd (patch) | |
tree | 76b927531b252d33d888645cee9739295d3cae34 | |
parent | 26c90728c3a37a6b1862a29d6dfbdd4f1cdfc72b (diff) | |
download | upower-e66c7da2d263e8feb6ff0d85a89d52df5b5fdcdd.tar.gz |
build: Require new gudev to fix battery detection
gudev 234 had bugs converting cached sysfs properties to boolean which
caused upower to think that batteries were not there, as the "present"
sysfs attribute was misread.
Require at least gudev 235 to avoid battery detection being broken.
Closes: #149
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 8523d5a..11b1a7d 100644 --- a/configure.ac +++ b/configure.ac @@ -198,7 +198,7 @@ AC_SUBST(BACKEND, "$with_backend") # only need GUdev on linux have_idevice=no if test x$with_backend = xlinux; then - PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 234]) + PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 235]) AC_ARG_WITH(idevice, AS_HELP_STRING([--without-idevice],[Build without libimobiledevice]), with_idevice=$withval,with_idevice=yes) LIBPLIST_DEP=libplist |