From: | "Markus Dittrich (markusle)" <markusle@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/libtecla/files: libtecla-1.6.1-no-strip.patch libtecla-1.6.1-LDFLAGS.patch |
Date: | Tue, 07 Oct 2008 10:36:04 |
Message-Id: | E1Kn9v7-0007qy-RL@stork.gentoo.org |
1 | markusle 08/10/07 10:36:01 |
2 | |
3 | Added: libtecla-1.6.1-no-strip.patch |
4 | libtecla-1.6.1-LDFLAGS.patch |
5 | Log: |
6 | Added patches to prevent stripping of binaries and repect LDFLAGS (see bug #239877). |
7 | (Portage version: 2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libtecla-1.6.1-no-strip.patch |
16 | =================================================================== |
17 | # prevent build system from stripping files (bug #239877). |
18 | |
19 | diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in |
20 | --- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500 |
21 | +++ libtecla.new/Makefile.in 2008-10-07 06:17:22.000000000 -0400 |
22 | @@ -260,7 +260,7 @@ |
23 | install_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R) |
24 | progs="$(PROGRAMS) $(PROGRAMS_R)"; \ |
25 | for prog in $$progs; do \ |
26 | - $(srcdir)/install-sh -c -m 755 -s $$prog $(BINDIR)/; \ |
27 | + $(srcdir)/install-sh -c -m 755 $$prog $(BINDIR)/; \ |
28 | done |
29 | |
30 | install: install_lib install_inc install_man install_bin |
31 | |
32 | |
33 | |
34 | 1.1 dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch |
35 | |
36 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch?rev=1.1&view=markup |
37 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch?rev=1.1&content-type=text/plain |
38 | |
39 | Index: libtecla-1.6.1-LDFLAGS.patch |
40 | =================================================================== |
41 | # add missing LDFLAGS to build system. |
42 | # the configure script still fails to add LDFLAGS when linking |
43 | # the libtecla shared object but since it calls ld directory |
44 | # LDFLAGS can't be used straight out of the box. |
45 | |
46 | diff -Naur libtecla/Makefile.rules libtecla.new/Makefile.rules |
47 | --- libtecla/Makefile.rules 2002-12-04 01:26:56.000000000 -0500 |
48 | +++ libtecla.new/Makefile.rules 2008-10-07 06:16:22.000000000 -0400 |
49 | @@ -66,7 +66,7 @@ |
50 | $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) |
51 | |
52 | enhance$(SUFFIX): $(OBJDIR)/enhance.o |
53 | - LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ |
54 | + LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \ |
55 | $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) |
56 | |
57 | #----------------------------------------------------------------------- |