summary refs log tree commit diff
path: root/pkgs/os-specific/linux/powertop/powertop-1.13.patch
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-18 20:44:35 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2011-03-18 20:44:35 +0000
commitaf3e5b5050b216d967711e0d940c4ee68d97ea3c (patch)
tree0a5e97e3615109f19429f89c4412d6b7195b33c5 /pkgs/os-specific/linux/powertop/powertop-1.13.patch
parent83f99d0c386a250b981ddd6ce6e9f627e22ad15c (diff)
downloadnixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.tar
nixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.tar.gz
nixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.tar.bz2
nixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.tar.lz
nixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.tar.xz
nixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.tar.zst
nixlib-af3e5b5050b216d967711e0d940c4ee68d97ea3c.zip
Updating powertop.
svn path=/nixpkgs/trunk/; revision=26426
Diffstat (limited to 'pkgs/os-specific/linux/powertop/powertop-1.13.patch')
-rw-r--r--pkgs/os-specific/linux/powertop/powertop-1.13.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/powertop/powertop-1.13.patch b/pkgs/os-specific/linux/powertop/powertop-1.13.patch
new file mode 100644
index 000000000000..d8a7d546c54c
--- /dev/null
+++ b/pkgs/os-specific/linux/powertop/powertop-1.13.patch
@@ -0,0 +1,15 @@
+diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
+--- powertop-1.13/Makefile
++++ powertop-1.13.new/Makefile
+@@ -1,6 +1,6 @@
+ VERSION = 1.13
+ 
+-BINDIR=/usr/bin
+-LOCALESDIR=/usr/share/locale
+-MANDIR=/usr/share/man/man8
++BINDIR=${out}/bin
++LOCALESDIR=${out}/share/locale
++MANDIR=${out}/share/man/man8
+ WARNFLAGS=-Wall  -W -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
+ CFLAGS?=-Os -g ${WARNFLAGS}
+ CC?=gcc