Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/multitail/files: 5.2.2-as-needed.patch
Date: Wed, 03 Feb 2010 21:48:09
Message-Id: E1Ncn4q-0002tc-E0@stork.gentoo.org
1 jlec 10/02/03 21:48:00
2
3 Added: 5.2.2-as-needed.patch
4 Log:
5 Adding as-needed patch, fixing 274700, thanks idl0r and Gef Lebster for
6 providing patches
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 app-text/multitail/files/5.2.2-as-needed.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/multitail/files/5.2.2-as-needed.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-text/multitail/files/5.2.2-as-needed.patch?rev=1.1&content-type=text/plain
14
15 Index: 5.2.2-as-needed.patch
16 ===================================================================
17 --- Makefile.old 2009-07-02 20:16:52.561919791 +0200
18 +++ Makefile 2009-07-02 20:17:21.947666469 +0200
19 @@ -4,19 +4,19 @@ DESTDIR=/
20 CONFIG_FILE=$(DESTDIR)/etc/multitail.conf
21
22 DEBUG=-g # -D_DEBUG # -pg # -D_DEBUG #-pg -W -pedantic # -pg #-fprofile-arcs
23 -LDFLAGS+=-lpanel -lncurses -lutil -lm $(DEBUG) -rdynamic
24 +LIBS+=-lpanel -lncurses -lutil -lm
25 # LDFLAGS+=-lc_p -lpanel_g -lncurses_g -lutil -lm -pg -g -rdynamic
26 -CFLAGS+=-funsigned-char -D`uname` -O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) -DCONFIG_FILE=\"$(CONFIG_FILE)\"
27 +CFLAGS+=-funsigned-char -D`uname` -Wall -DVERSION=\"$(VERSION)\" -DCONFIG_FILE=\"$(CONFIG_FILE)\" -rdynamic
28
29 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
30
31 all: multitail
32
33 multitail: $(OBJS)
34 - $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o multitail
35 + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
36
37 multitail_ccmalloc: $(OBJS)
38 - ccmalloc --no-wrapper $(CC) -Wall -W $(OBJS) $(LDFLAGS) -o ccmultitail
39 + ccmalloc --no-wrapper $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) -o ccmultitail $(LIBS)
40
41 install: multitail
42 cp multitail $(DESTDIR)/usr/bin