SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,19 @@
--- src/tpb.h.orig Mon Jul 18 08:15:59 2005
+++ src/tpb.h Thu May 31 20:04:13 2007
@@ -28,6 +28,8 @@
#define _(String) (String)
#endif /* ENABLE_NLS */
+#define PATH_NVRAM "/dev/nvram"
+
#define MAX_VOLUME 100
#define CALLBACK_CMD_LENGTH 256
#define CALLBACK_CMD_ARGS 30
@@ -68,6 +70,7 @@ typedef struct {
unsigned int volume_toggle; /* volume toggle */
unsigned int mute_toggle; /* mute toggle */
unsigned int ac_state; /* ac connected */
+ unsigned int battery_level; /* battery level */
unsigned int powermgt_ac; /* power management mode ac */
unsigned int powermgt_battery; /* power management mode battery */
} t_thinkpad_state;