Date: Sat, 22 Jul 2017 08:04:10 +0000 (UTC) From: Eugene Grosbein <eugen@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r446371 - in head/deskutils/tpb: . files Message-ID: <201707220804.v6M84AAr093351@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eugen Date: Sat Jul 22 08:04:10 2017 New Revision: 446371 URL: https://svnweb.freebsd.org/changeset/ports/446371 Log: - 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 Modified: head/deskutils/tpb/Makefile head/deskutils/tpb/files/patch-src-tpb.c Modified: head/deskutils/tpb/Makefile ============================================================================== --- head/deskutils/tpb/Makefile Sat Jul 22 07:08:55 2017 (r446370) +++ head/deskutils/tpb/Makefile Sat Jul 22 08:04:10 2017 (r446371) @@ -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+ Modified: head/deskutils/tpb/files/patch-src-tpb.c ============================================================================== --- head/deskutils/tpb/files/patch-src-tpb.c Sat Jul 22 07:08:55 2017 (r446370) +++ head/deskutils/tpb/files/patch-src-tpb.c Sat Jul 22 08:04:10 2017 (r446371) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707220804.v6M84AAr093351>