From f961edbe39e28707a04a47f3971d8ed71beb5e8a Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 16 Jul 2023 12:22:14 +0200 Subject: Add wayland/havoc a simple wayland terminal emulator --- wayland/havoc/patches/patch-Makefile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 wayland/havoc/patches/patch-Makefile (limited to 'wayland/havoc/patches/patch-Makefile') diff --git a/wayland/havoc/patches/patch-Makefile b/wayland/havoc/patches/patch-Makefile new file mode 100644 index 0000000..2ac3e50 --- /dev/null +++ b/wayland/havoc/patches/patch-Makefile @@ -0,0 +1,26 @@ +Index: Makefile +--- Makefile.orig ++++ Makefile +@@ -6,11 +6,11 @@ BINDIR ?= $(PREFIX)/bin + + VERSION="0.4.0" + +-CFLAGS ?= -Wall -Wextra -Wno-unused-parameter -Wno-parentheses ++CFLAGS += -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -I/usr/local/include -I/usr/local/include/libepoll-shim + override CFLAGS += -DVERSION=\"$(VERSION)\" + + VPATH=$(WAYLAND_PROTOCOLS_DIR)/stable/xdg-shell +-LIBS=-lrt -lm -lutil -lwayland-client -lwayland-cursor -lxkbcommon -Ltsm -lhtsm ++LIBS=-L/usr/local/lib -R/usr/local/lib -lm -lutil -lwayland-client -lwayland-cursor -lxkbcommon -Ltsm -lhtsm -lepoll-shim + OBJ=xdg-shell.o gtk-primary-selection.o glyph.o main.o + GEN=xdg-shell.c xdg-shell.h gtk-primary-selection.c gtk-primary-selection.h + +@@ -18,7 +18,7 @@ havoc: tsm $(OBJ) + $(CC) $(LDFLAGS) -o $@ $(OBJ) $(LIBS) + + install: havoc +- install -D -t $(DESTDIR)$(BINDIR) havoc ++ install -m 755 havoc $(BINDIR) + + uninstall: + rm -f $(DESTDIR)$(BINDIR)/havoc -- cgit v1.2.3