diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-text/multitail/files/multitail-6.4.1-gentoo.patch | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-text/multitail/files/multitail-6.4.1-gentoo.patch')
-rw-r--r-- | app-text/multitail/files/multitail-6.4.1-gentoo.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/app-text/multitail/files/multitail-6.4.1-gentoo.patch b/app-text/multitail/files/multitail-6.4.1-gentoo.patch new file mode 100644 index 000000000000..080417b6b302 --- /dev/null +++ b/app-text/multitail/files/multitail-6.4.1-gentoo.patch @@ -0,0 +1,31 @@ +--- a/Makefile ++++ b/Makefile +@@ -8,11 +8,11 @@ + CC?=gcc + DEBUG+=-g -Wall # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs + ifeq ($(UTF8_SUPPORT),yes) +-LDFLAGS+=-lpanelw -lncursesw -lutil -lm +-CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT -D_FORTIFY_SOURCE=2 -O3 ++LIBS+=$(shell $(PKG_CONFIG) --libs ncursesw panelw) -lutil -lm ++CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -DUTF8_SUPPORT + else +-LDFLAGS+=-lpanel -lncurses -lutil -lm +-CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -D_FORTIFY_SOURCE=2 -O3 ++LIBS+=$(shell $(PKG_CONFIG) --libs ncurses panel) -lutil -lm ++CFLAGS+=-funsigned-char -D`uname` -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" + endif + + OBJS=utils.o mt.o error.o my_pty.o term.o scrollback.o help.o mem.o cv.o selbox.o stripstring.o color.o misc.o ui.o exec.o diff.o config.o cmdline.o globals.o history.o xclip.o +@@ -20,10 +20,10 @@ + all: multitail + + multitail: $(OBJS) +- $(CC) $(OBJS) $(LDFLAGS) -o multitail ++ $(CC) $(CFLAGS) $(OBJS) $(LDFLAGS) -o multitail $(LIBS) + + multitail_ccmalloc: $(OBJS) +- ccmalloc --no-wrapper $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail ++ ccmalloc --no-wrapper $(CC) $(CFLAGS) $(LDFLAGS) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail $(LIBS) + + install: multitail + mkdir -p $(DESTDIR)$(PREFIX)/bin |