diff options
author | Markus Dittrich <markusle@gentoo.org> | 2008-10-07 10:36:01 +0000 |
---|---|---|
committer | Markus Dittrich <markusle@gentoo.org> | 2008-10-07 10:36:01 +0000 |
commit | 8fa4a6004c1782cd0c216ccc180356c20056ee0c (patch) | |
tree | cf928bacd66fd6ac0237b43814e7c6f96fb30171 /dev-libs/libtecla/files | |
parent | Bug #240292, version bump. (diff) | |
download | gentoo-2-8fa4a6004c1782cd0c216ccc180356c20056ee0c.tar.gz gentoo-2-8fa4a6004c1782cd0c216ccc180356c20056ee0c.tar.bz2 gentoo-2-8fa4a6004c1782cd0c216ccc180356c20056ee0c.zip |
Added patches to prevent stripping of binaries and repect LDFLAGS (see bug #239877).
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686)
Diffstat (limited to 'dev-libs/libtecla/files')
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch | 17 | ||||
-rw-r--r-- | dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch | 14 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch b/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch new file mode 100644 index 000000000000..dcc8c7ce52b3 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch @@ -0,0 +1,17 @@ +# add missing LDFLAGS to build system. +# the configure script still fails to add LDFLAGS when linking +# the libtecla shared object but since it calls ld directory +# LDFLAGS can't be used straight out of the box. + +diff -Naur libtecla/Makefile.rules libtecla.new/Makefile.rules +--- libtecla/Makefile.rules 2002-12-04 01:26:56.000000000 -0500 ++++ libtecla.new/Makefile.rules 2008-10-07 06:16:22.000000000 -0400 +@@ -66,7 +66,7 @@ + $(OBJDIR)/demo3.o -L. -ltecla$(SUFFIX) $(LIBS) + + enhance$(SUFFIX): $(OBJDIR)/enhance.o +- LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(CFLAGS) -o $@ \ ++ LD_RUN_PATH="$(LIBDIR):$$LD_RUN_PATH:`pwd`" $(CC) $(LDFLAGS) $(CFLAGS) -o $@ \ + $(OBJDIR)/enhance.o -L. -ltecla$(SUFFIX) $(LIBS) + + #----------------------------------------------------------------------- diff --git a/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch new file mode 100644 index 000000000000..1935c3894f76 --- /dev/null +++ b/dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch @@ -0,0 +1,14 @@ +# prevent build system from stripping files (bug #239877). + +diff -Naur libtecla/Makefile.in libtecla.new/Makefile.in +--- libtecla/Makefile.in 2004-10-31 15:30:57.000000000 -0500 ++++ libtecla.new/Makefile.in 2008-10-07 06:17:22.000000000 -0400 +@@ -260,7 +260,7 @@ + install_bin: $(BINDIR) $(PROGRAMS) $(PROGRAMS_R) + progs="$(PROGRAMS) $(PROGRAMS_R)"; \ + for prog in $$progs; do \ +- $(srcdir)/install-sh -c -m 755 -s $$prog $(BINDIR)/; \ ++ $(srcdir)/install-sh -c -m 755 $$prog $(BINDIR)/; \ + done + + install: install_lib install_inc install_man install_bin |