openbsd-ports/x11/xmobar/patches/patch-xmobar_cabal
2022-03-11 20:15:18 +00:00

22 lines
734 B
Plaintext

Hook in APM bindings
Index: xmobar.cabal
--- xmobar.cabal.orig
+++ xmobar.cabal
@@ -150,6 +150,7 @@ library
Xmobar.Plugins.NotmuchMail,
Xmobar.Plugins.Monitors,
Xmobar.Plugins.Monitors.Batt,
+ Xmobar.Plugins.Monitors.Batt.Binding,
Xmobar.Plugins.Monitors.Batt.Common,
Xmobar.Plugins.Monitors.Common.Output,
Xmobar.Plugins.Monitors.Common.Parsers,
@@ -175,6 +176,7 @@ library
Xmobar.Plugins.Monitors.CatInt
extra-libraries: Xrandr Xrender
+ c-sources: src/Xmobar/Plugins/Monitors/Batt/apm.c
ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind