diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-01-12 16:58:22 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-01-12 16:58:22 +0000 |
commit | 89edc9f31116caab914cdd33e5d33ad22a8f75bf (patch) | |
tree | ccb52a1893c47c39d4150cfcf21fa6ea2fc13014 /x11-misc | |
parent | rewrite linker scripts and symlinks too when moving lib32 (diff) | |
download | historical-89edc9f31116caab914cdd33e5d33ad22a8f75bf.tar.gz historical-89edc9f31116caab914cdd33e5d33ad22a8f75bf.tar.bz2 historical-89edc9f31116caab914cdd33e5d33ad22a8f75bf.zip |
Fix compiling with GCC 4.7 (bug #422039).
Package-Manager: portage-2.2.0_alpha151/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'x11-misc')
4 files changed, 83 insertions, 7 deletions
diff --git a/x11-misc/lineak-defaultplugin/ChangeLog b/x11-misc/lineak-defaultplugin/ChangeLog index cc6a5557d317..720852d7bc09 100644 --- a/x11-misc/lineak-defaultplugin/ChangeLog +++ b/x11-misc/lineak-defaultplugin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-misc/lineak-defaultplugin -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/ChangeLog,v 1.28 2011/03/23 16:39:14 signals Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/ChangeLog,v 1.29 2013/01/12 16:58:20 jer Exp $ + +*lineak-defaultplugin-0.9.0-r1 (12 Jan 2013) + + 12 Jan 2013; Jeroen Roovers <jer@gentoo.org> + +lineak-defaultplugin-0.9.0-r1.ebuild, + +files/lineak-defaultplugin-0.9.0-gcc47.patch: + Fix compiling with GCC 4.7 (bug #422039). 23 Mar 2011; Kevin McCarthy <signals@gentoo.org> lineak-defaultplugin-0.9.0.ebuild: diff --git a/x11-misc/lineak-defaultplugin/Manifest b/x11-misc/lineak-defaultplugin/Manifest index 9b76e21d4f90..bd2b6d736c8d 100644 --- a/x11-misc/lineak-defaultplugin/Manifest +++ b/x11-misc/lineak-defaultplugin/Manifest @@ -1,5 +1,17 @@ -AUX lineak-defaultplugin-0.9.0-gcc43.patch 242 RMD160 39b6bc766500743bc77e7493c72c35726e4abb79 SHA1 5dcf1191b60b0a364673113c246238989b0bf860 SHA256 e73b7b472e68032ef9a37ac459121608d997672945a50d391564daa7651df17b -DIST lineak-defaultplugin-0.9.tar.gz 840704 RMD160 bb200b1db8c2dddd341672b7eae8f19983c9df94 SHA1 192a7d603c38e0a5704078756917ea82ecaf29fe SHA256 3b679d38e32e47c05f13de89b5f3ca49729b6dd847208bd184f772e5f9373230 -EBUILD lineak-defaultplugin-0.9.0.ebuild 989 RMD160 b902f6a00616bb9210857af0ade4af099c40b7ee SHA1 69d45546f104a01511c8986da390b3ae50fb9970 SHA256 c7d137abb2fd00e2710d07fc216d06ebd2ba8dbb0b792ed5737e0868356c88aa -MISC ChangeLog 4134 RMD160 7aad4a6a0894f99cb2f631e90ea30818a801aeb4 SHA1 fa7edc715570371f75c834b8db895aaf6963701b SHA256 c6fa53a47f6e152525c4d556cd9d3f1b70c9d90cffd11396affa3718042091b8 -MISC metadata.xml 167 RMD160 6f174fdd5033945a3da1b7bbea9796fe17ba2bf8 SHA1 26b8b030985c93a71d6d34f25249320a30b22f36 SHA256 63163ddb9082af2890999b3c825b2d21df911f59611694e0e077e75a12bf7241 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +AUX lineak-defaultplugin-0.9.0-gcc43.patch 242 SHA256 e73b7b472e68032ef9a37ac459121608d997672945a50d391564daa7651df17b SHA512 897f29bfe02405f7881d6dfd4b4d91448943f917c3afee43b50b36449c0d84e0a76bc8b7867649c7728f0c22e58b6a9f951b81a1f05cb4df36fc51524affa5a4 WHIRLPOOL a1addb0c2782d6c81d6d63e1a5179d811f7f769b7c09bf7ae57ed193d56d464c9a2df73cd8babf3ba00951c5be336b0340c54855309d9d1c4175091afd9b2a9d +AUX lineak-defaultplugin-0.9.0-gcc47.patch 274 SHA256 92b96238915caa74c593116f40891b5616f1cdd9f1f70bd0eeea6535269e157f SHA512 1644ec0fe4c3546f427381359d65f25e1e6ad036b99d6909ac4cde11e95d4c97ded30109c751a652905e2f7299605ddcff29779e22f8b2b541fde1d7f9688cc0 WHIRLPOOL 038f8ae9f1bf57da4f41a023db4abca0829bf53bca01b69473d208088cc505db69ed1ec1038d5f9e85dbba9ecf7f8ff5867683f42d1fcb21e34293cabdbd2bdd +DIST lineak-defaultplugin-0.9.tar.gz 840704 SHA256 3b679d38e32e47c05f13de89b5f3ca49729b6dd847208bd184f772e5f9373230 SHA512 f110eb42f8711b9fbd38652462d9b44f6f6851c4dc5cdb466b63bd09b8d3320e35d7de82626f2c9409bbf0f96d4f1e4ab2e9a82932452e50b403d343fca1ce4b WHIRLPOOL 6a641600e2c581ba17a1324ac892426d9f9f5c83e50efc6b39275effc437e664eb02c083a025779c9d51d02d8e444465f7070950e002f2f1a65417ea63b1ae9e +EBUILD lineak-defaultplugin-0.9.0-r1.ebuild 986 SHA256 13e1eeaa10e2e97bf1f0df0a2e8fae05d06e3786e959c17c0ce24fe2cf60c3ac SHA512 3b3fd3703f2f47036f3b5a238498afb0ac0da333dd5e080d3ebfa0dd6edd017f40e86ff05c33db91ad3df91500e5929e753d81f92773af5fda534b78b832f81e WHIRLPOOL 89724c680302ac62d81b4f9ba818d96430fc13485bdc945b20278d82fd11f547d5d80087683a7aebfdd1df060d4e772f11e9823cff3b7899119d1a591308170c +EBUILD lineak-defaultplugin-0.9.0.ebuild 989 SHA256 c7d137abb2fd00e2710d07fc216d06ebd2ba8dbb0b792ed5737e0868356c88aa SHA512 e14bc7e9835b87ca97fa7a9967ab99ab8f3f1fa8ea888ab8893fb8fe5b83b814b4c3eeeb0b6a42fdec408d08e257e4c1a6dce6d671ae1dda1ae8130f72230bc3 WHIRLPOOL fbfc4df81cd32f7d9b9b899b64f382c76ca8740faf78678007b6bd0f9ec23cff8ea3a1e46c09847412152855d15a941d9660a636ceb79963713922d511f80fe0 +MISC ChangeLog 4358 SHA256 2552ade34596fc0128114f7399193e76d7c7d9046ef6a0c0924136a49f1be90a SHA512 15bb0d5efaf99d67e054649084bdfcf25bd80cd15273cf07f2a50ffda9dfbfdb72365c7963fb68187b210e6f75a81ee6f6d78af055a1a18fa952f80379f06238 WHIRLPOOL f225922edd92794eef03170436ac0d3a2d227816ca40e3893b697309f13999f205fd9d72736f8dd5d0289894e2dfc200b767b894055479fd2f4aab766f3f0f1e +MISC metadata.xml 167 SHA256 63163ddb9082af2890999b3c825b2d21df911f59611694e0e077e75a12bf7241 SHA512 381c3c70deed443ca617d0535541542579acffb8dde5f577acf789380f0cdec6d395fa6a45483978648fa2d4e9dab13a441ebdc95664f5f414efbcc812705754 WHIRLPOOL f4a9e5a69adee7e8ee1e5e7ba1b4b860c5060a80db845e0c7f12c96ab44a86dc81adb6aff76c5130b4ab2ffe5ea18f0a5afc9d87a61177d99a8fc9f49d7e9d6f +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlDxli4ACgkQVWmRsqeSphMD1gCaAo2bn+nxG2D4yHhyt3PxZvGp +xDgAnRZMBKPs0VZyiImwBaTkc6A0+P58 +=C+GX +-----END PGP SIGNATURE----- diff --git a/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch new file mode 100644 index 000000000000..7f593ef0818b --- /dev/null +++ b/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-gcc47.patch @@ -0,0 +1,10 @@ +--- a/default_plugin/defaultplugin.cpp ++++ b/default_plugin/defaultplugin.cpp +@@ -35,6 +35,7 @@ + #include <iostream> + #include <sstream> + #include <stdlib.h> ++#include <unistd.h> /* fork() */ + #include <cstring> + using namespace std; + using namespace lineak_core_functions; diff --git a/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild new file mode 100644 index 000000000000..87bbcba2f08d --- /dev/null +++ b/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineak-defaultplugin/lineak-defaultplugin-0.9.0-r1.ebuild,v 1.1 2013/01/12 16:58:20 jer Exp $ + +EAPI=5 +inherit eutils multilib + +MY_P=${P/.0/} + +DESCRIPTION="Mute/unmute and other macros for LINEAK" +HOMEPAGE="http://lineak.sourceforge.net" +SRC_URI="mirror://sourceforge/lineak/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug" + +RDEPEND=" + =x11-misc/lineakd-${PV}* +" +DEPEND=" + ${RDEPEND} + x11-proto/inputproto +" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc47.patch + + sed -i -e 's:$(DESTDIR)${DESTDIR}:$(DESTDIR):' default_plugin/Makefile +} + +src_configure() { + econf USER_LDFLAGS="${LDFLAGS}" $(use_enable debug) +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PLUGINDIR=/usr/$(get_libdir)/lineakd/plugins \ + install + dodoc AUTHORS README +} |