summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-21 14:33:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-21 14:33:49 +0000
commit9d3e9c7ae3fb7ece1d2a50b6f7179c38ca38a835 (patch)
treeefc6b6d0d574f66cb6cead07628eb0b8d03b16e9 /dev-scheme/ypsilon
parentalpha/ia64/sparc stable wrt #297388 (diff)
downloadhistorical-9d3e9c7ae3fb7ece1d2a50b6f7179c38ca38a835.tar.gz
historical-9d3e9c7ae3fb7ece1d2a50b6f7179c38ca38a835.tar.bz2
historical-9d3e9c7ae3fb7ece1d2a50b6f7179c38ca38a835.zip
Fix building with -Wl,--as-needed wrt #278083 by Kacper Kowalik.
Package-Manager: portage-2.2_rc59/cvs/Linux x86_64
Diffstat (limited to 'dev-scheme/ypsilon')
-rw-r--r--dev-scheme/ypsilon/ChangeLog6
-rw-r--r--dev-scheme/ypsilon/Manifest5
-rw-r--r--dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch11
-rw-r--r--dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild10
4 files changed, 27 insertions, 5 deletions
diff --git a/dev-scheme/ypsilon/ChangeLog b/dev-scheme/ypsilon/ChangeLog
index c79003c1153e..80a1d190d5b0 100644
--- a/dev-scheme/ypsilon/ChangeLog
+++ b/dev-scheme/ypsilon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-scheme/ypsilon
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ChangeLog,v 1.1 2009/04/20 23:54:37 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ChangeLog,v 1.2 2009/12/21 14:33:49 ssuominen Exp $
+
+ 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ ypsilon-0.9.6_p3.ebuild, +files/ypsilon-0.9.6_p3-asneeded.patch:
+ Fix building with -Wl,--as-needed wrt #278083 by Kacper Kowalik.
*ypsilon-0.9.6_p3 (20 Apr 2009)
diff --git a/dev-scheme/ypsilon/Manifest b/dev-scheme/ypsilon/Manifest
index 79d449d8f326..1ab1c9d246dd 100644
--- a/dev-scheme/ypsilon/Manifest
+++ b/dev-scheme/ypsilon/Manifest
@@ -1,4 +1,5 @@
+AUX ypsilon-0.9.6_p3-asneeded.patch 353 RMD160 4b3fb0271ffb06f615dacb9c96b0e05b9ccd01e4 SHA1 83aad645e6b9f0f387f54c89c2400ee986816020 SHA256 95d9fd6aa825c82e0b32a0507a9ef725edfa7aa2484ee06a84f40748783fc6fb
DIST ypsilon-0.9.6.update3.tar.gz 4555843 RMD160 98ad0af6a126a160b36982509d0aaf4507b0315e SHA1 ee76b90e5a086755867075039ffe478e6b067995 SHA256 2ca3c901dc3f6bca857a94a9d991d14ecc12727d2833694f0e4f5aa1a8a4064d
-EBUILD ypsilon-0.9.6_p3.ebuild 960 RMD160 dcdd85a8b3e2f4edafeebfc89314fe203050cefe SHA1 249314ce5954a9b2d41d2af07437759743b658fa SHA256 15f92e1ba8c08b6afb7ee0f2c5bd5c5e17eae65c9eb679a4f815b31d117216d3
-MISC ChangeLog 406 RMD160 badcdd941f92b40fc7cab5bea639672fcd4cc011 SHA1 6ae39f3750f299d9fc61b871ccaa6aeaabda6d5b SHA256 025cd067c9abcfc061b21230e8634e1fcb332a7e1fb2fb326d2dad6b941e98ec
+EBUILD ypsilon-0.9.6_p3.ebuild 1045 RMD160 3eb6d3e9f774d36d368b151704d8c975f96b5f41 SHA1 b4452824089da0d4b44a18f00f4786c3979e42fd SHA256 59b447b5ed1ceec7c0a2f562dddb721c06866b9dc43b35ed698e60e8fc360aaa
+MISC ChangeLog 598 RMD160 c2d3a874bccb162ce4c0b920e77f4f69c0c5a07a SHA1 b3135ac39018f5553c2dd3dd3ad46c46e8a0adff SHA256 134d70d7c4a1bd891806e6e08d1a3c0cd6526d0bed3e5df9b6100b11ecf7fbfa
MISC metadata.xml 319 RMD160 c7de4b0dc69191e7a0e6c03d6d1c27ef7d0c050a SHA1 ae02f600e36ea74da8c883ac9e924cb09ab989e1 SHA256 4bb8778ec4e0dfaebdf80836ad3a21c30668e56659eee06869b3b2102b496f17
diff --git a/dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch b/dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch
new file mode 100644
index 000000000000..4769fce6c25c
--- /dev/null
+++ b/dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch
@@ -0,0 +1,11 @@
+--- ypsilon-0.9.6.update3.orig/Makefile 2008-12-23 09:56:02.000000000 +0100
++++ ypsilon-0.9.6.update3/Makefile 2009-10-21 18:14:37.613881129 +0200
+@@ -126,7 +126,7 @@
+ @mkdir -p -m755 $(HOME)/.ypsilon
+
+ $(PROG): $(OBJS)
+- $(CXX) $(LDFLAGS) $(LDLIBS) -o $@ $^
++ $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+
+ vm1.s: vm1.cpp
+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) \
diff --git a/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild
index d28faa544fc2..2a2bda778377 100644
--- a/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild
+++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild,v 1.1 2009/04/20 23:54:37 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild,v 1.2 2009/12/21 14:33:49 ssuominen Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -17,7 +17,13 @@ IUSE="examples threads"
DEPEND=""
RDEPEND="${DEPEND}"
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-asneeded.patch
+}
src_compile() {
use threads && append-flags "-pthread"