aboutsummaryrefslogtreecommitdiffstats
path: root/testing/keyd/ungit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/keyd/ungit.patch')
-rw-r--r--testing/keyd/ungit.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/keyd/ungit.patch b/testing/keyd/ungit.patch
new file mode 100644
index 0000000000..4566796dd3
--- /dev/null
+++ b/testing/keyd/ungit.patch
@@ -0,0 +1,32 @@
+--- a/Makefile
++++ b/Makefile
+@@ -4,8 +4,7 @@
+ PREFIX=/usr
+
+ VERSION=1.1.2
+-GIT_HASH=$(shell git describe --no-match --always --abbrev=40 --dirty)
+-CFLAGS=-DVERSION=\"$(VERSION)\" -DGIT_COMMIT_HASH=\"$(GIT_HASH)\"
++CFLAGS=-DVERSION=\"$(VERSION)\"
+
+ all:
+ mkdir -p bin
+--- a/src/main.c
++++ b/src/main.c
+@@ -890,7 +890,7 @@
+ {
+ if(argc > 1) {
+ if(!strcmp(argv[1], "-v")) {
+- fprintf(stderr, "keyd version: %s (%s)\n", VERSION, GIT_COMMIT_HASH);
++ fprintf(stderr, "keyd version: %s\n", VERSION);
+ return 0;
+ } else if(!strcmp(argv[1], "-m")) {
+ return monitor_loop();
+@@ -918,7 +918,7 @@
+ if(argc > 1 && !strcmp(argv[1], "-d"))
+ daemonize();
+
+- warn("Starting keyd v%s (%s).", VERSION, GIT_COMMIT_HASH);
++ warn("Starting keyd v%s.", VERSION);
+ config_generate();
+ ufd = create_uinput_fd();
+