summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2009-07-11 04:14:09 +0000
committerDenis Dupeyron <calchan@gentoo.org>2009-07-11 04:14:09 +0000
commitd1264698d1f2a22e3dab1726f81e19bc380ed9b7 (patch)
tree3e70aa9939195f7a5314ff02cb51aab95c3ac0d9 /sci-electronics
parentFix package.env generation. (diff)
downloadhistorical-d1264698d1f2a22e3dab1726f81e19bc380ed9b7.tar.gz
historical-d1264698d1f2a22e3dab1726f81e19bc380ed9b7.tar.bz2
historical-d1264698d1f2a22e3dab1726f81e19bc380ed9b7.zip
Fixed compatibility with glibc 2.10, thanks to Diego Pettenò (bug #276734).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/vbs/ChangeLog8
-rw-r--r--sci-electronics/vbs/Manifest4
-rw-r--r--sci-electronics/vbs/vbs-1.4.0.ebuild27
3 files changed, 23 insertions, 16 deletions
diff --git a/sci-electronics/vbs/ChangeLog b/sci-electronics/vbs/ChangeLog
index a56f0e90f883..bcd141bfb64d 100644
--- a/sci-electronics/vbs/ChangeLog
+++ b/sci-electronics/vbs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-electronics/vbs
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/vbs/ChangeLog,v 1.7 2009/02/16 00:49:15 loki_val Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/vbs/ChangeLog,v 1.8 2009/07/11 04:14:09 calchan Exp $
+
+ 11 Jul 2009; Denis Dupeyron <calchan@gentoo.org> vbs-1.4.0.ebuild:
+ Fixed compatibility with glibc 2.10, thanks to Diego Pettenò (bug
+ #276734).
16 Feb 2009; Peter Alfredsen <loki_val@gentoo.org>
+files/vbs-1.4.0-gcc-4.3.patch, vbs-1.4.0.ebuild:
diff --git a/sci-electronics/vbs/Manifest b/sci-electronics/vbs/Manifest
index f9115768dfa4..7db021cb9c67 100644
--- a/sci-electronics/vbs/Manifest
+++ b/sci-electronics/vbs/Manifest
@@ -1,6 +1,6 @@
AUX vbs-1.4.0-gcc-4.1.patch 3640 RMD160 d92bf7c964acf89d12aef2cd7412a4c2fe6dbbcc SHA1 b854dbb9eb3ff4d2a8fa2a43e4032427c375c9b9 SHA256 dabd6f97a2b70830a75e6dad7231d3f01546929742aa9a3fbc0a113617bf6642
AUX vbs-1.4.0-gcc-4.3.patch 803 RMD160 e7a67f026cc6389c5d2b1dffc2913edd538a76ba SHA1 ed51f595d776c7d24df082a114a3931d137c2d54 SHA256 c80f5f48567ba5cca7f92164dde5591115ea32ca6bc3b17873e201d6bd96694a
DIST vbs-1.4.0.tar.gz 275974 RMD160 a008225ab72b92f922b2f769bd13beca0b82530c SHA1 fd39003417230d8d4cb12b8ff1e005006b6c8946 SHA256 c29e6d2bb89ef9e08f8b94eadd06801c79bae7fcb401748d8a2ef28d742e80b4
-EBUILD vbs-1.4.0.ebuild 995 RMD160 ec983cb19d08d2c4806c0ce4cbeccbf5cee4cce5 SHA1 9e3ec906da3cae29d2dd2a7f285538af1bead04a SHA256 bb310114a4cfc9ede57770c87a38d8c9bd2e5453c38024729844cc9228358638
-MISC ChangeLog 1486 RMD160 18a33d2455cc79edef0a0ceefeeee003422befb7 SHA1 43ef4b341cfa6dc26383aa0d189161458d9f8a38 SHA256 297c0ee7c07c6348d260b589f1a9ac9cdfc8f89f1e4c99dd6191f29f8296b2e4
+EBUILD vbs-1.4.0.ebuild 1088 RMD160 d0dbe229bdd20e28f0a9c4fe8f83da049a315ca0 SHA1 44f19838975c595185aca9332017464324444248 SHA256 7ae6099aa2fb3992c1ba7a737f71ad193f8dd3f70a3344aa899915cc98fd57aa
+MISC ChangeLog 1636 RMD160 3ef63079ef95b6d16a4f12a0bab7afcee1ba7e80 SHA1 d7cc1b51e2a7666d7b8a720653249807f9c49ca7 SHA256 b48f4a15063438e0759438e0785f58f04fcdbed07a3fcb501d81975d41258807
MISC metadata.xml 422 RMD160 bcff472ce8e94f4dd18838809848710f12339f17 SHA1 a060f1e01f6483612ec118012ab393493e6c3489 SHA256 3c9eb974473a4808c8b81c30dba0dc5daf07efd157d5d56a5a236008eece4990
diff --git a/sci-electronics/vbs/vbs-1.4.0.ebuild b/sci-electronics/vbs/vbs-1.4.0.ebuild
index 975ba2b152f1..f89da3e4fe23 100644
--- a/sci-electronics/vbs/vbs-1.4.0.ebuild
+++ b/sci-electronics/vbs/vbs-1.4.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation and Tim Yamin <plasmaroo@gentoo.org> <plasmaroo@squirrelsoft.org.uk>
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/vbs/vbs-1.4.0.ebuild,v 1.4 2009/02/16 00:49:15 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/vbs/vbs-1.4.0.ebuild,v 1.5 2009/07/11 04:14:09 calchan Exp $
+
+EAPI="2"
inherit eutils
@@ -11,27 +13,28 @@ SRC_URI="http://www.geda.seul.org/dist/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
IUSE="examples"
-KEYWORDS="ppc ~x86"
+KEYWORDS="~amd64 ppc ~x86"
DEPEND=">=sys-devel/flex-2.3
>=sys-devel/bison-1.22"
+RDEPEND=""
+
+S="${WORKDIR}/${P}/src"
-src_unpack () {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${P}-gcc-4.1.patch
- epatch ${FILESDIR}/${P}-gcc-4.3.patch
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc-4.1.patch"
+ epatch "${FILESDIR}/${P}-gcc-4.3.patch"
+ sed -i -e "s/strrchr(n,'.')/const_cast<char*>(strrchr(n,'.'))/" common/scp_tab.cc || die "sed failed"
}
-src_compile () {
- cd src
- econf || die "Configuration failed"
+src_compile() {
emake -j1 vbs || die "Compilation failed"
}
-src_install () {
+src_install() {
+ dobin vbs
+ cd ..
dodoc BUGS CHANGELOG* CONTRIBUTORS COPYRIGHT FAQ README vbs.txt
- dobin src/vbs
if use examples ; then
insinto /usr/share/${PF}/examples
doins EXAMPLES/*