aboutsummaryrefslogtreecommitdiff
path: root/deskutils/havoc/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/havoc/files/patch-Makefile')
-rw-r--r--deskutils/havoc/files/patch-Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/deskutils/havoc/files/patch-Makefile b/deskutils/havoc/files/patch-Makefile
new file mode 100644
index 000000000000..2db602d62a4b
--- /dev/null
+++ b/deskutils/havoc/files/patch-Makefile
@@ -0,0 +1,27 @@
+--- Makefile.orig 2020-09-15 12:40:25 UTC
++++ Makefile
+@@ -8,6 +8,7 @@ VERSION="0.3.1"
+
+ CFLAGS ?= -Wall -Wextra -Wno-unused-parameter -Wno-parentheses
+ CFLAGS += `pkg-config --cflags xkbcommon` \
++ `pkg-config --cflags epoll-shim` \
+ `pkg-config --cflags wayland-client` \
+ `pkg-config --cflags wayland-cursor`
+ override CFLAGS += -DVERSION=\"$(VERSION)\"
+@@ -15,6 +16,7 @@ override CFLAGS += -DVERSION=\"$(VERSION)\"
+ VPATH=$(WAYLAND_PROTOCOLS_DIR)/stable/xdg-shell
+ LIBS=-lrt -lm -lutil -lwayland-client -lwayland-cursor -lxkbcommon -Ltsm -lhtsm
+ LIBS+=`pkg-config --libs xkbcommon` \
++ `pkg-config --libs epoll-shim` \
+ `pkg-config --libs wayland-client` \
+ `pkg-config --libs wayland-cursor`
+
+@@ -25,7 +27,7 @@ havoc: tsm $(OBJ)
+ $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS)
+
+ install: havoc
+- install -D -t $(DESTDIR)$(BINDIR) havoc
++ install havoc $(DESTDIR)$(BINDIR)
+
+ uninstall:
+ rm -f $(DESTDIR)$(BINDIR)/havoc