diff options
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 |