diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-09-12 15:51:50 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-09-12 15:51:50 +0000 |
commit | 2861fadba7d977d0ead5a5ac4fb1b8271ec5bdbc (patch) | |
tree | 91b8c91264e506e3e905fce302fc3d58527c0a41 /dev-vcs/cssc | |
parent | move dev-haskell/parsec/parsec-2.1.0.1.ebuild ebuild to mirror://hackage (diff) | |
download | historical-2861fadba7d977d0ead5a5ac4fb1b8271ec5bdbc.tar.gz historical-2861fadba7d977d0ead5a5ac4fb1b8271ec5bdbc.tar.bz2 historical-2861fadba7d977d0ead5a5ac4fb1b8271ec5bdbc.zip |
Fix building with GCC 4.7 (bug #422571).
Package-Manager: portage-2.2.0_alpha125/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/cssc')
-rw-r--r-- | dev-vcs/cssc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-vcs/cssc/Manifest | 14 | ||||
-rw-r--r-- | dev-vcs/cssc/cssc-1.3.0-r1.ebuild | 42 | ||||
-rw-r--r-- | dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch | 10 |
4 files changed, 73 insertions, 3 deletions
diff --git a/dev-vcs/cssc/ChangeLog b/dev-vcs/cssc/ChangeLog index b072ab10a71d..c3032cbdcb6a 100644 --- a/dev-vcs/cssc/ChangeLog +++ b/dev-vcs/cssc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-vcs/cssc -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cssc/ChangeLog,v 1.13 2011/05/19 22:19:16 jer Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cssc/ChangeLog,v 1.14 2012/09/12 15:51:50 jer Exp $ + +*cssc-1.3.0-r1 (12 Sep 2012) + + 12 Sep 2012; Jeroen Roovers <jer@gentoo.org> +cssc-1.3.0-r1.ebuild, + +files/cssc-1.3.0-gcc47.patch: + Fix building with GCC 4.7 (bug #422571). 19 May 2011; Jeroen Roovers <jer@gentoo.org> -cssc-1.2.0.ebuild: DEL diff --git a/dev-vcs/cssc/Manifest b/dev-vcs/cssc/Manifest index c554b0ff33c2..5fb3c9701146 100644 --- a/dev-vcs/cssc/Manifest +++ b/dev-vcs/cssc/Manifest @@ -1,4 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX cssc-1.3.0-gcc47.patch 187 SHA256 97577b288fb35dc5416eb7a4e5f8a3f99aea7709bd020a061b1e1436e860d8e2 SHA512 75706187dccd2cfbf0ef0f95eb6520bdf8134da0f6414e4e7e1ee92d54835f5d857320cfc81eb1f4ebf8584ea6da4e4a26e3a5990d60d7b7609b9bf19b6dec74 WHIRLPOOL fbba6f818f7b8201cf0e3bea2ec84006b6272410eb4bfe0097bea8d3b0f809e088c4b2e4e9af82a030a3514fa53fdccf6d375013556dd8a975bddbdf3f3d544e DIST CSSC-1.3.0.tar.gz 1608481 SHA256 95053aab534c111648ea5b096037673b541a0c2960574d8addf70201a5337c2e SHA512 26d7b7757e59cd1eec900517fba671050308e61d841a47fbeb79a101749839fec8d7a9ea5dc938fc8cf669c36411fc850419503681e80e4292d4e3cc37d47a53 WHIRLPOOL a2d1f520838897310fc509b41715186dcf60487ae143149be30da9a87ecd7f4d831571e46ea86fa08d5b280add7d218aea45a75d0036ab97b64251da859c6415 +EBUILD cssc-1.3.0-r1.ebuild 950 SHA256 06f66d0c9d511305b104bf56d7ee83fa8a6cc63f90fdba1746b639be3bc8da71 SHA512 c9899a1582986fe94fcec088578f3c4676fc572abd14d4094bc7eea821dbe09e7fdae87bcbe075ec2c4aa41b69c1d52d51a27317c61008580ac5d1ca68c8e24a WHIRLPOOL 512158acfa0d3ed28fe16f13544b7a1942526abf314387943fcea4886fd06e1eb47c7d44195b4348f6a8211407ef142c8ec0480ac76d221c5712ba0cd71d545d EBUILD cssc-1.3.0.ebuild 1012 SHA256 e656124573f5bf2b1c389d9fae9605c75d22cb01c3409ac556c8ba509910d7be SHA512 20600d14bfa31fdcaf63f131474fbe03e331cc502a11f1c33df1fca8940146d7454ed6d7f45e19a93bc4c2106f5d206c91fc19fbb1382fdbf0ba5b07bfd2fa2d WHIRLPOOL 05ba5f8e1af570e45755a21237117e2acdc1fa7465edec798a5f6575896055f0e278984f093920656952d10326aa48fe548165b016c5d282824672a17197430a -MISC ChangeLog 3425 SHA256 251a3862da5ff46f5c975e759c98e2785c08362a06c62a6b94e92333bbc103f0 SHA512 2be987569e939c8e1a359228f5cf3a1a95868550bea17be9e48f992362f6648c837dd952d4e8e6433a478567f461176305ecc6d2c2eaa4a356b96070fdda38aa WHIRLPOOL 389a66617c686665742611363a7d22dca274808069f6d4e6ce5bba88940e3f50c8375690da79908ef9f30d452274365f9dabc794e50df90a57b297521c5dff28 +MISC ChangeLog 3602 SHA256 818251e01ac0cf41053408f1817a16d7e68e57fcf761b84fb4541b4b1317d783 SHA512 3a297bd497eec3ee7ec85b914eb4eabf931dd00c82af90b267383c27e942462dd5f9d543a70f227256419648597bd431f555c87105388a7901d344450979230e WHIRLPOOL 33dec27318a6baf14e1e2d9ec9a69c75a87babcb86ab5644f47a01b985cd51d11f9263aec7663062b2b4ccc65e2942d41b480442f33a6e28d278edd8dd46cc5b MISC metadata.xml 196 SHA256 599d489eaeda79157559bc9f7ecdabec345da752748886b14ef461d4fd95bf4b SHA512 d09d812ff37949ddbd49ad24e7c10444c4205e4e8466bba88fb04a973065632160988df92dc5b1f4514b3800581c1afee799ce01533eb0dd09902aa592ffe1cb WHIRLPOOL c67c7b4c7b29362abb1195603ede1ffb02875eb10b33670cf48b94f5a8a84fb76865886f0a487496b8765ed5d340d01ea94095617179bb20bd3fb029262b9355 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlBQr5wACgkQVWmRsqeSphNsIwCfYP2uaq/eEe/jd8L+QOQIO9ea +izgAnjB8wUVfkiXqSIpSM0OxevoQBT47 +=eZqf +-----END PGP SIGNATURE----- diff --git a/dev-vcs/cssc/cssc-1.3.0-r1.ebuild b/dev-vcs/cssc/cssc-1.3.0-r1.ebuild new file mode 100644 index 000000000000..1f8c7c1894b3 --- /dev/null +++ b/dev-vcs/cssc/cssc-1.3.0-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cssc/cssc-1.3.0-r1.ebuild,v 1.1 2012/09/12 15:51:50 jer Exp $ + +EAPI=4 +inherit eutils + +DESCRIPTION="CSSC is the GNU Project's replacement for SCCS" +SRC_URI="mirror://gnu/${PN}/CSSC-${PV}.tar.gz" +HOMEPAGE="http://www.gnu.org/software/cssc/" +SLOT="0" +LICENSE="GPL-3" +S=${WORKDIR}/CSSC-${PV} +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="" + +DOCS=( README NEWS ChangeLog AUTHORS ) + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc47.patch + + # The large test takes a long time + sed -i tests/Makefile.* \ + -e 's|\([[:space:]]\)test-large |\1|g' \ + || die "sed failed" +} + +src_configure() { + econf --enable-binary --without-valgrind +} + +src_compile() { + emake all +} + +src_test() { + if [[ ${UID} = 0 ]]; then + einfo "The test suite can not be run as root" + else + emake check + fi +} diff --git a/dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch b/dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch new file mode 100644 index 000000000000..4c319016eccd --- /dev/null +++ b/dev-vcs/cssc/files/cssc-1.3.0-gcc47.patch @@ -0,0 +1,10 @@ +--- a/src/file.h ++++ b/src/file.h +@@ -31,6 +31,7 @@ + #define CSSC__FILE_H__ + + #include "filelock.h" ++#include <unistd.h> /* gid_t */ + + enum create_mode { + CREATE_EXCLUSIVE = 001, |