Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/xfsprogs/files: xfsprogs-3.1.8-readline.patch
Date: Sat, 25 Aug 2012 23:10:21
Message-Id: 20120825231010.6E0F920733@flycatcher.gentoo.org
1 vapier 12/08/25 23:10:10
2
3 Added: xfsprogs-3.1.8-readline.patch
4 Log:
5 Link libxcmd against readline #432644 by David Badia.
6
7 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sys-fs/xfsprogs/files/xfsprogs-3.1.8-readline.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/files/xfsprogs-3.1.8-readline.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/xfsprogs/files/xfsprogs-3.1.8-readline.patch?rev=1.1&content-type=text/plain
14
15 Index: xfsprogs-3.1.8-readline.patch
16 ===================================================================
17 From 52548f087e9c5ff05c9f43c859114cf2066f133b Mon Sep 17 00:00:00 2001
18 From: Mike Frysinger <vapier@g.o>
19 Date: Sat, 25 Aug 2012 19:06:28 -0400
20 Subject: [PATCH] libxcmd: link against readline
21
22 This library uses readline funcs (the input.c file), so we need to link
23 this shared library against it.
24
25 URL: https://bugs.gentoo.org/432644
26 Reported-by: David Badia <dbadia@×××××.com>
27 Signed-off-by: Mike Frysinger <vapier@g.o>
28 ---
29 libxcmd/Makefile | 2 ++
30 1 file changed, 2 insertions(+)
31
32 diff --git a/libxcmd/Makefile b/libxcmd/Makefile
33 index b3544f4..ce082a5 100644
34 --- a/libxcmd/Makefile
35 +++ b/libxcmd/Makefile
36 @@ -22,10 +22,12 @@ endif
37
38 ifeq ($(ENABLE_READLINE),yes)
39 LCFLAGS += -DENABLE_READLINE
40 +LTLIBS += $(LIBREADLINE) $(LIBTERMCAP)
41 endif
42
43 ifeq ($(ENABLE_EDITLINE),yes)
44 LCFLAGS += -DENABLE_EDITLINE
45 +LTLIBS += $(LIBEDITLINE) $(LIBTERMCAP)
46 endif
47
48 default: ltdepend $(LTLIBRARY)
49 --
50 1.7.9.7