diff options
author | Matthieu Herrb <matthieu@herrb.eu> | 2023-07-16 12:22:14 +0200 |
---|---|---|
committer | Matthieu Herrb <matthieu@herrb.eu> | 2023-07-16 17:25:48 +0200 |
commit | f961edbe39e28707a04a47f3971d8ed71beb5e8a (patch) | |
tree | 1eb1ccf62e7445571c204e66e829dd19a853dada /wayland/havoc/patches/patch-Makefile | |
parent | 0d2fe2d2fcb6541b209a561499d44bb4cc62f3c1 (diff) |
Add wayland/havoc a simple wayland terminal emulator
Diffstat (limited to 'wayland/havoc/patches/patch-Makefile')
-rw-r--r-- | wayland/havoc/patches/patch-Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
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 |