fix powertop-1.13.patch
svn path=/nixpkgs/trunk/; revision=29806
This commit is contained in:
parent
3850bb86ba
commit
0989227b08
@ -1,7 +1,7 @@
|
|||||||
diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
|
diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
|
||||||
--- powertop-1.13/Makefile
|
--- powertop-1.13/Makefile
|
||||||
+++ powertop-1.13.new/Makefile
|
+++ powertop-1.13.new/Makefile
|
||||||
@@ -1,6 +1,6 @@
|
@@ -1,8 +1,8 @@
|
||||||
VERSION = 1.13
|
VERSION = 1.13
|
||||||
|
|
||||||
-BINDIR=/usr/bin
|
-BINDIR=/usr/bin
|
||||||
@ -10,6 +10,6 @@ diff -ru powertop-1.13/Makefile powertop-1.13.new/Makefile
|
|||||||
+BINDIR=${out}/bin
|
+BINDIR=${out}/bin
|
||||||
+LOCALESDIR=${out}/share/locale
|
+LOCALESDIR=${out}/share/locale
|
||||||
+MANDIR=${out}/share/man/man8
|
+MANDIR=${out}/share/man/man8
|
||||||
WARNFLAGS=-Wall -W -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
|
WARNFLAGS=-Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int
|
||||||
CFLAGS?=-Os -g ${WARNFLAGS}
|
CFLAGS?=-Os -g ${WARNFLAGS}
|
||||||
CC?=gcc
|
CC?=gcc
|
||||||
|
Loading…
Reference in New Issue
Block a user