summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-10-07 10:36:01 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-10-07 10:36:01 +0000
commite8536d2765e95b9462082db2d7d64272242a6573 (patch)
tree790ad4d8095b87e15ec8bb2b24fff7949a1ea6bb /dev-libs/libtecla
parentBug #240292, version bump. (diff)
downloadhistorical-e8536d2765e95b9462082db2d7d64272242a6573.tar.gz
historical-e8536d2765e95b9462082db2d7d64272242a6573.tar.bz2
historical-e8536d2765e95b9462082db2d7d64272242a6573.zip
Added patches to prevent stripping of binaries and repect LDFLAGS (see bug #239877).
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 i686
Diffstat (limited to 'dev-libs/libtecla')
-rw-r--r--dev-libs/libtecla/ChangeLog8
-rw-r--r--dev-libs/libtecla/Manifest6
-rw-r--r--dev-libs/libtecla/files/libtecla-1.6.1-LDFLAGS.patch17
-rw-r--r--dev-libs/libtecla/files/libtecla-1.6.1-no-strip.patch14
-rw-r--r--dev-libs/libtecla/libtecla-1.6.1.ebuild4
5 files changed, 45 insertions, 4 deletions
diff --git a/dev-libs/libtecla/ChangeLog b/dev-libs/libtecla/ChangeLog
index b07b387c715d..1757d4cb6e86 100644
--- a/dev-libs/libtecla/ChangeLog
+++ b/dev-libs/libtecla/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libtecla
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/ChangeLog,v 1.10 2008/06/03 13:10:03 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/ChangeLog,v 1.11 2008/10/07 10:36:00 markusle Exp $
+
+ 07 Oct 2008; Markus Dittrich <markusle@gentoo.org>
+ +files/libtecla-1.6.1-LDFLAGS.patch, +files/libtecla-1.6.1-no-strip.patch,
+ libtecla-1.6.1.ebuild:
+ Added patches to prevent stripping of binaries and repect LDFLAGS
+ (see bug #239877).
03 Jun 2008; Markus Dittrich <markusle@gentoo.org>
+files/libtecla-1.6.1-install.patch, libtecla-1.6.0-r1.ebuild,
diff --git a/dev-libs/libtecla/Manifest b/dev-libs/libtecla/Manifest
index ec06153cab47..d25ebf27b09c 100644
--- a/dev-libs/libtecla/Manifest
+++ b/dev-libs/libtecla/Manifest
@@ -1,7 +1,9 @@
+AUX libtecla-1.6.1-LDFLAGS.patch 795 RMD160 7ef5ec2408f218637b385b629af894b1ed7c26e1 SHA1 bdf4d730978cf809643f81d8e1a5efa2957b039b SHA256 a6e9e0bc76fbc6d4959ede12d59e3122bf2fe93a6cda084b61c462273ce8a6a6
AUX libtecla-1.6.1-install.patch 481 RMD160 d6e2be87f8e2a50b26a4a8ce48d95c67c93d48ef SHA1 e99e83f38f2e0382d499dbe9d524ea6570791ebd SHA256 48df38c829f428ddaae27143fd121e10f304286683b557d5fd7d8fbfab6fc9fe
+AUX libtecla-1.6.1-no-strip.patch 562 RMD160 aa032c383e7b084cf66d0697a6a241870e67cbc7 SHA1 f75b9f34496a02ccd00420badc1ea34ddfe3ce29 SHA256 5d7baafbc6f13abf9dd38839fe7896ece9f7eed63ae81be9d25ba666fe7855b2
DIST libtecla-1.6.0.tar.gz 513586 RMD160 c8c68a30a4d8c50acb5a4801db9b025b44998773 SHA1 f7228bf9dd2e001c368a93568f35c6a28ccece73 SHA256 39398426a6bd8b023982e392b665810539688553ed9549c09f7d82fe6580497b
DIST libtecla-1.6.1.tar.gz 518995 RMD160 024f05583dc78bee1a686054799ce32c86890484 SHA1 99c82990e7a41050211e4a449e50e20ee511c284 SHA256 21db2947bd1415070e0462673aa9bed04610946e09169fcd63e02557b0d999a1
EBUILD libtecla-1.6.0-r1.ebuild 845 RMD160 59dd18ae898871c6f0653d1d36f202e3acb4d15d SHA1 d650dde981e070eaa71177674dbf96e34b12e88b SHA256 fab69b9a4d95c0bd48a40bef746a46ed37c3cbb04b2d96c899173eaae867771e
-EBUILD libtecla-1.6.1.ebuild 978 RMD160 df557cf00c16c13756611f50be8894f0a3f16dcc SHA1 b89c3b86d93d61ccef20e0dba59905d7a7d4b928 SHA256 bcfa8f48703ba5211c81da60549f43e605d06ec305daa427c6474c246d9cdce5
-MISC ChangeLog 1613 RMD160 21bad12f0eab08dc522d47ace32f30ceb1dd048a SHA1 0b7c6e5fae435a57ba74375254ec03696ff131af SHA256 6eb55539ced12021b9edc8dc532c354056827d99017f267cff07fa3e9e71c627
+EBUILD libtecla-1.6.1.ebuild 1061 RMD160 329de1461173e59ce5d5fa646da9307b2ae62570 SHA1 83dc1f1a25a15d5bfdd43123a83d5d9085c2cf5d SHA256 ad4b350120605d0a59dde7fe9323035c9db13cbbc3d438db5eac56fa6191dfda
+MISC ChangeLog 1859 RMD160 68ee6169d38f118e3ff649455ada7443e289ff8e SHA1 e11bbb1c5bddc2d3de16282a21aac9c0013feb5a SHA256 3cabf9b895a93ec083a990eb21e26975ec29fb6bc3171fe21626ca7ef77d1c21
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
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
diff --git a/dev-libs/libtecla/libtecla-1.6.1.ebuild b/dev-libs/libtecla/libtecla-1.6.1.ebuild
index 4ce25de6f804..dc044f8becf9 100644
--- a/dev-libs/libtecla/libtecla-1.6.1.ebuild
+++ b/dev-libs/libtecla/libtecla-1.6.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.2 2008/06/03 13:10:03 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtecla/libtecla-1.6.1.ebuild,v 1.3 2008/10/07 10:36:00 markusle Exp $
inherit eutils
@@ -22,6 +22,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-install.patch
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
+ epatch "${FILESDIR}"/${P}-no-strip.patch
# remove build directory from RPATH (see bug #119477)
sed -e "s|:\$\$LD_RUN_PATH:\`pwd\`||" -i Makefile.rules || \