nixpkgs/pkgs/os-specific/linux/radeontop/version-header.patch
2015-01-03 21:18:54 +01:00

22 lines
633 B
Diff

diff -Nurp radeontop-0.8-orig/include/version.h radeontop-0.8/include/version.h
--- radeontop-0.8-orig/include/version.h 1970-01-01 01:00:00.000000000 +0100
+++ radeontop-0.8/include/version.h 2015-01-03 09:34:58.114335049 +0100
@@ -0,0 +1,6 @@
+#ifndef VER_H
+#define VER_H
+
+#define VERSION "@version@"
+
+#endif
diff -Nurp radeontop-0.8-orig/Makefile radeontop-0.8/Makefile
--- radeontop-0.8-orig/Makefile 2015-01-03 09:34:30.205507608 +0100
+++ radeontop-0.8/Makefile 2015-01-03 09:38:36.765881422 +0100
@@ -67,7 +67,6 @@ clean:
.git:
$(verh): .git
- ./getver.sh
trans:
xgettext -o translations/radeontop.pot -k_ *.c \