SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
19
sysutils/tpb/patches/patch-src_tpb_h
Normal file
19
sysutils/tpb/patches/patch-src_tpb_h
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue