summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-03-04 18:58:11 +0000
committerJustin Lecher <jlec@gentoo.org>2013-03-04 18:58:11 +0000
commit9feb60403c60a5185f511927cc2e313470a2cd9c (patch)
treeb6c39654fe1867b5b8fb8bc49b6576a647f4656b /app-text/multitail/files
parentMigrate to EAPI 5. (diff)
downloadgentoo-2-9feb60403c60a5185f511927cc2e313470a2cd9c.tar.gz
gentoo-2-9feb60403c60a5185f511927cc2e313470a2cd9c.tar.bz2
gentoo-2-9feb60403c60a5185f511927cc2e313470a2cd9c.zip
app-text/multitail: Add fix for ncurses[tinfo], #459206
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'app-text/multitail/files')
-rw-r--r--app-text/multitail/files/multitail-5.2.12-as-needed.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/app-text/multitail/files/multitail-5.2.12-as-needed.patch b/app-text/multitail/files/multitail-5.2.12-as-needed.patch
new file mode 100644
index 000000000000..1ec5ba2c26b5
--- /dev/null
+++ b/app-text/multitail/files/multitail-5.2.12-as-needed.patch
@@ -0,0 +1,26 @@
+--- Makefile.old 2009-07-02 20:16:52.561919791 +0200
++++ Makefile 2009-07-02 20:17:21.947666469 +0200
+@@ -4,19 +4,19 @@ DESTDIR=/
+ CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
+
+ DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs
+-LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic
++LIBS+=`$(PKG_CONFIG) --libs ncurses panel` -lutil -lm
+ # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic
+-CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
++CFLAGS+=-funsigned-char -D`uname` -Wall -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -rdynamic
+
+ 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
+
+ all: multitail
+
+ multitail: $(OBJS)
+- $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o multitail
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
+
+ multitail_ccmalloc: $(OBJS)
+- ccmalloc --no-wrapper $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail
++ ccmalloc --no-wrapper $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o ccmultitail $(LIBS)
+
+ install: multitail
+ cp multitail $(DESTDIR)/usr/bin