diff options
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch | 27 | ||||
-rw-r--r-- | app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild (renamed from app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild) | 4 |
2 files changed, 31 insertions, 0 deletions
diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch new file mode 100644 index 000000000000..6d39d31e738c --- /dev/null +++ b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch @@ -0,0 +1,27 @@ +From 3644486a9ee4fda7887fa0ecf224e66c4d12a0d2 Mon Sep 17 00:00:00 2001 +From: Ritesh Raj Sarraf <rrs@debian.org> +Date: Fri, 10 Mar 2017 14:37:03 +0530 +Subject: [PATCH] Fix correct program invocation + +Thanks: Mathias Rav +Closes: https://github.com/rickysarraf/laptop-mode-tools/issues/93 +--- + usr/share/laptop-mode-tools/modules/wireless-power | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/usr/share/laptop-mode-tools/modules/wireless-power b/usr/share/laptop-mode-tools/modules/wireless-power +index bd8277d..8800a89 100755 +--- a/usr/share/laptop-mode-tools/modules/wireless-power ++++ b/usr/share/laptop-mode-tools/modules/wireless-power +@@ -76,7 +76,7 @@ setPowerSave() { + if [ $ONOFF = "ON" ]; then + $IWCONFIG $IF txpower auto + else +- $IW dev $IF txpower fixed ++ $IWCONFIG $IF txpower fixed + fi + fi + } +-- +2.13.6 + diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild index 76f2e8092a24..61e9fa4c5dbd 100644 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71.ebuild +++ b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild @@ -29,6 +29,10 @@ DEPEND="" S="${WORKDIR}/${MY_P}" +PATCHES=( + "${FILESDIR}/${P}-wireless-power.patch" +) + src_prepare() { default # This should avoid conflict with pm-powersave wrt #327443 and #396703 |