From 084a5be6ab7b088ea39219ac0397df9dbadfdbcf Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sun, 6 Jun 2021 14:32:22 -0400 Subject: Update libxo acpiconf patch --- acpiconf-8-Add-libxo-3-support.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/acpiconf-8-Add-libxo-3-support.patch b/acpiconf-8-Add-libxo-3-support.patch index 641c18f..b65739c 100644 --- a/acpiconf-8-Add-libxo-3-support.patch +++ b/acpiconf-8-Add-libxo-3-support.patch @@ -1,4 +1,4 @@ -From b01ad1d67883953d2f0f22b792a8613b8c31d28d Mon Sep 17 00:00:00 2001 +From fbb0ec5e3cc2f5b6d9cd023fd5cf7ae38b97ad6a Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Thu, 20 May 2021 15:03:17 -0400 Subject: [PATCH] acpiconf(8): Add libxo(3) support @@ -65,7 +65,7 @@ index 53888d8489e..7e4e7c9564c 100644 .Xr acpidump 8 , .Xr apm 8 , diff --git a/usr.sbin/acpi/acpiconf/acpiconf.c b/usr.sbin/acpi/acpiconf/acpiconf.c -index 8a31657fb98..35c40ff1ab7 100644 +index 8a31657fb98..f4d5e06b0d3 100644 --- a/usr.sbin/acpi/acpiconf/acpiconf.c +++ b/usr.sbin/acpi/acpiconf/acpiconf.c @@ -37,6 +37,7 @@ @@ -192,9 +192,9 @@ index 8a31657fb98..35c40ff1ab7 100644 - printf("Serial number:\t\t%s\n", battio.bix.serial); - printf("Type:\t\t\t%s\n", battio.bix.type); - printf("OEM info:\t\t%s\n", battio.bix.oeminfo); -+ xo_emit("Low/warn granularity:{P:\t}{:granularity-lw/%d}{Uw:/%sh}\n", ++ xo_emit("{Lc:Low\\/warn granularity}{P:\t}{:granularity-lw/%d}{Uw:/%sh}\n", + battio.bix.gra1, pwr_units); -+ xo_emit("Warn/full granularity:{P:\t}{:granularity-wf/%d}{Uw:/%sh}\n", ++ xo_emit("{Lc:Warn\\/full granularity}{P:\t}{:granularity-wf/%d}{Uw:/%sh}\n", + battio.bix.gra2, pwr_units); + xo_emit("{Lc:Model number}{P:\t\t}{:model}\n", battio.bix.model); + xo_emit("{Lc:Serial number}{P:\t\t}{:serial}\n", battio.bix.serial); -- cgit v1.2.3-56-ge451