- Fix volume control for TPB by correcting typing error:
replace wrong "dec.acpi_ibm.0.volume" with right "dev.acpi_ibm.0.volume" - assign submitter as maintainer for this unmaintained port - bump PORTREVISION. PR: 220900 Submitted by: Dmitry Luhtionov Approved by: az (mentor) MFH: 2017Q3
This commit is contained in:
parent
a7c0e9c5e5
commit
0eb594d229
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=446371
@ -3,11 +3,11 @@
|
||||
|
||||
PORTNAME= tpb
|
||||
PORTVERSION= 0.6.4
|
||||
PORTREVISION= 12
|
||||
PORTREVISION= 13
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= SAVANNAH
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= dmitryluhtionov@gmail.com
|
||||
COMMENT= On-Screen-Display for hotkeys of IBM ThinkPads
|
||||
|
||||
LICENSE= GPLv2+
|
||||
|
@ -156,7 +156,7 @@
|
||||
+#ifdef __FreeBSD__
|
||||
+ u_int n = thinkpad_state->volume_level;
|
||||
+
|
||||
+ if (sysctlbyname("dec.acpi_ibm.0.volume", NULL, NULL, &n, sizeof(n)) != 0)
|
||||
+ if (sysctlbyname("dev.acpi_ibm.0.volume", NULL, NULL, &n, sizeof(n)) != 0)
|
||||
+ fprintf(stderr, _("Unable to set volume sysctl"));
|
||||
+ else {
|
||||
+#endif
|
||||
|
Loading…
Reference in New Issue
Block a user