Version in base suite: 0.4.1-2 Base version: brightd_0.4.1-2 Target version: brightd_0.4.1-2+deb10u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/b/brightd/brightd_0.4.1-2.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/b/brightd/brightd_0.4.1-2+deb10u1.dsc changelog | 10 ++++++++++ patches/0002-Don-t-use-deprecated-proc-acpi-for-AC-detection.patch | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff -Nru brightd-0.4.1/debian/changelog brightd-0.4.1/debian/changelog --- brightd-0.4.1/debian/changelog 2018-09-05 12:48:36.000000000 +0000 +++ brightd-0.4.1/debian/changelog 2020-01-13 16:40:37.000000000 +0000 @@ -1,3 +1,13 @@ +brightd (0.4.1-2+deb10u1) buster; urgency=medium + + * Non-maintainer upload. + + [ Andrej Shadura ] + * Actually compare the value read out of /sys/class/power_supply/AC/online with '0' + (Closes: #934140) + + -- Andreas Beckmann Mon, 13 Jan 2020 17:40:37 +0100 + brightd (0.4.1-2) unstable; urgency=medium * Refresh the patch. diff -Nru brightd-0.4.1/debian/patches/0002-Don-t-use-deprecated-proc-acpi-for-AC-detection.patch brightd-0.4.1/debian/patches/0002-Don-t-use-deprecated-proc-acpi-for-AC-detection.patch --- brightd-0.4.1/debian/patches/0002-Don-t-use-deprecated-proc-acpi-for-AC-detection.patch 2018-09-05 12:48:36.000000000 +0000 +++ brightd-0.4.1/debian/patches/0002-Don-t-use-deprecated-proc-acpi-for-AC-detection.patch 2020-01-13 16:40:37.000000000 +0000 @@ -32,7 +32,7 @@ fclose(ac); - return strstr(line, "on-line") != NULL; -+ return ac_state; ++ return ac_state != '0'; } /*}}}*/ /*