diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-12-19 12:09:51 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-12-19 12:09:51 +0000 |
commit | bc3360c82454f6ccc066fdbf11be9575f7c8b35f (patch) | |
tree | f6b9c7dc925465aaedf6c5ba1fa46a5403448c00 /media-sound/erec | |
parent | quote D (diff) | |
download | historical-bc3360c82454f6ccc066fdbf11be9575f7c8b35f.tar.gz historical-bc3360c82454f6ccc066fdbf11be9575f7c8b35f.tar.bz2 historical-bc3360c82454f6ccc066fdbf11be9575f7c8b35f.zip |
Fix build with gcc 4.3 by Yaroslav Gorbunov, bug #251220, honour CC/CXX, CFLAGS/CXXFLAGS/LDFLAGS
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27.8 x86_64
Diffstat (limited to 'media-sound/erec')
-rw-r--r-- | media-sound/erec/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/erec/Manifest | 15 | ||||
-rw-r--r-- | media-sound/erec/erec-2.2.0.1.ebuild | 7 | ||||
-rw-r--r-- | media-sound/erec/files/erec-2.2.0.1-gcc43.patch | 11 |
4 files changed, 35 insertions, 5 deletions
diff --git a/media-sound/erec/ChangeLog b/media-sound/erec/ChangeLog index 70fbfe1f66d3..9125dcf38c2d 100644 --- a/media-sound/erec/ChangeLog +++ b/media-sound/erec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/erec # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/erec/ChangeLog,v 1.10 2008/01/18 02:06:45 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/erec/ChangeLog,v 1.11 2008/12/19 12:09:51 aballier Exp $ + + 19 Dec 2008; Alexis Ballier <aballier@gentoo.org> + +files/erec-2.2.0.1-gcc43.patch, erec-2.2.0.1.ebuild: + Fix build with gcc 4.3 by Yaroslav Gorbunov, bug #251220, honour CC/CXX, + CFLAGS/CXXFLAGS/LDFLAGS 18 Jan 2008; Michael Sterrett <mr_bones_@gentoo.org> erec-2.2.0.1.ebuild: quoting for $S; error check dobin; skip using hard-coded portage directory for diff --git a/media-sound/erec/Manifest b/media-sound/erec/Manifest index 7f38e1f2fa15..99f0090ef36b 100644 --- a/media-sound/erec/Manifest +++ b/media-sound/erec/Manifest @@ -1,4 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX erec-2.2.0.1-gcc43.patch 340 RMD160 3e39be5ca29de03f12fe7136d118966ed59b4023 SHA1 79a1e9d6faff15ccfe6f672734c36d4dc83032d4 SHA256 246e49e242b8985a396029c3031b7d8a70cb913e9b5e29b2f2041be76738459a DIST erec-2.2.0.1.tar.bz2 25966 RMD160 4ba8e5afa47f6f7de57a182781127cfc48fce753 SHA1 e222bf7c7cb2069337fd794ad0e7abaf1ce7c210 SHA256 31fe1baa2738aa690e6af24c01950b4f67cf1b71feaeab4cdfbd9f5f76fe060f -EBUILD erec-2.2.0.1.ebuild 967 RMD160 b9275fbbbc596bca0742e01584de1bf23ea1aa13 SHA1 1aa78fb55907311af987e5ba38e634a2b9c2fc1b SHA256 f4fee7110a868ea84a3be4d5420bdd672b5d1e887a77ccfad598139689111f5d -MISC ChangeLog 1269 RMD160 ea043bb01552c0ab93c6ccd36bdd30f26d629169 SHA1 f57214deab829c73fa66f30c6182a668d24085e9 SHA256 de76da41c133c898aeb751fb86fbe2552d94f073763d5e952d9937802522dfe1 +EBUILD erec-2.2.0.1.ebuild 1136 RMD160 42fbdd515d743ec80aef22aaefba7b94823fe78b SHA1 54f18e7be3ab393f0307609fb72f35326451cbbc SHA256 3c45d391f933a5622847b61e4b07c25f8f1f93410d9cd1a9eff4de09d608dfe6 +MISC ChangeLog 1478 RMD160 2c60dcb1e314a3f96ba618d1dde2b3e589037327 SHA1 ee3d21540dfb07de0ca037ccd26a799a79b62d00 SHA256 5a2a18335703179120d0cdb19685962704e383d57dc347c4a98c3d82f8a6fb2d MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAklLjxQACgkQvFcC4BYPU0plgACfckgWz1rUT2JxuigucSPXgZIU +22sAnRWeGFMm8ik+0YiFkxduhRqGIqY8 +=080u +-----END PGP SIGNATURE----- diff --git a/media-sound/erec/erec-2.2.0.1.ebuild b/media-sound/erec/erec-2.2.0.1.ebuild index 7705b59f7305..5688e36c3657 100644 --- a/media-sound/erec/erec-2.2.0.1.ebuild +++ b/media-sound/erec/erec-2.2.0.1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/erec/erec-2.2.0.1.ebuild,v 1.10 2008/01/18 02:06:45 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/erec/erec-2.2.0.1.ebuild,v 1.11 2008/12/19 12:09:51 aballier Exp $ + +inherit eutils toolchain-funcs DESCRIPTION="A shared audio recording server" HOMEPAGE="http://bisqwit.iki.fi/source/erec.html" @@ -32,10 +34,11 @@ src_unpack() { echo "" > .depend echo "" > argh/.depend + epatch "${FILESDIR}/${P}-gcc43.patch" } src_compile() { - emake -j1 || die + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" -j1 || die } src_install() { diff --git a/media-sound/erec/files/erec-2.2.0.1-gcc43.patch b/media-sound/erec/files/erec-2.2.0.1-gcc43.patch new file mode 100644 index 000000000000..9e6fdcb7182c --- /dev/null +++ b/media-sound/erec/files/erec-2.2.0.1-gcc43.patch @@ -0,0 +1,11 @@ +diff -Nurpa erec-2.2.0.1.orig/argh/argh.cc erec-2.2.0.1/argh/argh.cc +--- erec-2.2.0.1.orig/argh/argh.cc 2008-12-17 03:48:35.000000000 +0300 ++++ erec-2.2.0.1/argh/argh.cc 2008-12-17 03:49:19.000000000 +0300 +@@ -1,6 +1,7 @@ + #include <map> + #include <cstdio> + #include <cstring> ++#include <cstdlib> + + using std::strchr; + using std::sprintf; |