From 383dd5dec61a24bdca601776379c98f11d2080af Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Sun, 3 Mar 2013 13:48:11 +0000 Subject: Fix building with gcc-4.7 wrt #423045 by Diego Elio Pettenò MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0x895192F9 --- net-p2p/valknut/ChangeLog | 7 ++++- net-p2p/valknut/Manifest | 37 ++++++++++++------------- net-p2p/valknut/files/valknut-0.4.9-gcc47.patch | 15 ++++++++++ net-p2p/valknut/valknut-0.4.9.ebuild | 8 +++++- 4 files changed, 46 insertions(+), 21 deletions(-) create mode 100644 net-p2p/valknut/files/valknut-0.4.9-gcc47.patch (limited to 'net-p2p/valknut') diff --git a/net-p2p/valknut/ChangeLog b/net-p2p/valknut/ChangeLog index f0b29fadde69..3e48b1c9f867 100644 --- a/net-p2p/valknut/ChangeLog +++ b/net-p2p/valknut/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-p2p/valknut # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/valknut/ChangeLog,v 1.80 2013/03/02 23:10:42 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/valknut/ChangeLog,v 1.81 2013/03/03 13:48:03 xarthisius Exp $ + + 03 Mar 2013; Kacper Kowalik + +files/valknut-0.4.9-gcc47.patch, valknut-0.4.9.ebuild: + Fix building with gcc-4.7 wrt #423045 by Diego Elio Pettenò + 02 Mar 2013; Markos Chandras valknut-0.4.9.ebuild: Move Qt dependencies to the new category diff --git a/net-p2p/valknut/Manifest b/net-p2p/valknut/Manifest index 5b5293e45114..ea638138599e 100644 --- a/net-p2p/valknut/Manifest +++ b/net-p2p/valknut/Manifest @@ -1,28 +1,27 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -DIST valknut-0.4.9-gnome-icons.tar.gz 59246 SHA256 074c33eb8fa8e7280a6b8bcf43a4c2f42ca28175e5d1be63723ba907b861fb58 +AUX valknut-0.4.9-gcc47.patch 304 SHA256 4b2047167276ad0409d4042930f16acf0974c7e0564457db160b7ef6c5616fe4 SHA512 f59348beff5f6b379e0bdde445a56b641ba453b29b2fe0f08900308f2703bcea5057a19ba81a1aa229882c28ef055a5ecbc1cd3ec42e6f5e8c0cbb4665f35c46 WHIRLPOOL e6921292479ead9813cd8ad9ea966a2b9d8b1e8496be4b57e04f9479084566b1a1bbceb5ec6540cd69467ad6200affa43ece7052ad0b02d29ff2a6c68e774a7e +DIST valknut-0.4.9-gnome-icons.tar.gz 59246 SHA256 074c33eb8fa8e7280a6b8bcf43a4c2f42ca28175e5d1be63723ba907b861fb58 SHA512 aaf7023d2c307d4a0eebf7548a0f2ca68e235f9b3f211b306798044c5ba3f48d037908ac3b4b782b671eafbf77cd590c1e13d245dd1375416d47680bdd51444f WHIRLPOOL 946541dda9d7cfbb983dee8b8144ec84410b3eb4b01d7d2dff4da49fa6e6ff28073cbea0d2b198335ce9a5399ad5c08ba73148c3a12dca2e3cb535b46ad203ba DIST valknut-0.4.9-oxygen-icons.tar.gz 71933 SHA256 29df2de7b6b20dce30934ef0abe1c1c005a2cf27253e2745e9a5b728499577ea -DIST valknut-0.4.9.tar.bz2 1215939 SHA256 06972248906145cfa6b155fec66ef5f2ebdf44f50fb68135a1624bb39d90cf32 -EBUILD valknut-0.4.9.ebuild 1065 SHA256 5d70a077d1c267441e8e05c840f3f8ae1b8947d85be9ba9fd6b12fe9b9c291cf SHA512 a017802694fc759850c9e1090afc22caf6f2cb9e57592a6a44fde70a7f85153f82b0f56fea34fb4aff2d3745783081eb1c56e97fb32c1901662c80773a08d83d WHIRLPOOL 7737353f17d58080784bb4ea95dc9a29f767ff5c3c51cca56aec10fd1244eef048b47b0ded60bb57b9222efaa3819450b6e6845641bd3fb9e67ace6e25b1e68a -MISC ChangeLog 15274 SHA256 831ace49b60ee249f9cc674a46039ac74cbbc157547b9dbf8a0fee4aed2136a2 SHA512 e2f83b1e1f6fbc0406ce3963049f48f0ef76bb732f790e074e8c2849e44d4888dc624c63e8b857315488bf11e57bd8a45d0e6fe82e1f59c916d987f0fdc9dc84 WHIRLPOOL 91e45dd96fe7ba54458f9b4b1fd72bd6fce8edb1c8263630a3e9289bca33db5260bf8ce254297f08544faae47f35fd1db649cb865ec25a7cdd9822833a8b1a58 +DIST valknut-0.4.9.tar.bz2 1215939 SHA256 06972248906145cfa6b155fec66ef5f2ebdf44f50fb68135a1624bb39d90cf32 SHA512 f3e1f3da45b6f6e2bd2bd2f822ca95eaea0c235e18abbf42da54524b73c20072d64341169ad58c34f070e1038afb28d650485d3c1e2625efb05bd2aa370c1bb9 WHIRLPOOL 5659e0a7658a408e3da3356a5800463580512786bc17dc6c3a0d21c9a225d312deee8b8b5a2e351182a05d79ec3f5383efe783613d4c1794138650c3dc17d8f3 +EBUILD valknut-0.4.9.ebuild 1142 SHA256 c2659058f59e5b4dc5f8cc461ccbc71680b314c3ab9bc6b535fcecc890a18c9d SHA512 9ab4bd0a625a8e6dc71d25d9c16c9d9646d9693450ba1ffbe8eb58dee9b91da46fbefdfba388f5c21d83d9230e692b090d66fb2ca7a0089721670b7fe0b5b8b1 WHIRLPOOL 39554361a76514d3f1853c2e897bc50239e64ec2c687ec0de3ba606a2924cb837807371674a2f18bd061f2bccbd2600468119e3fe38140c9b65b5a68bb69f3c9 +MISC ChangeLog 15477 SHA256 2295edf2e45e2122892d31439b9b9b7f434e5bee896c04e1f3322e8dc98f19ef SHA512 452e5490661f7abf82b868d7b27fd9c02a88771205419e2c91cd572b6e04b640983f1238b35b9b4832f61bf99bd107757ef5c5f21244daddfd4e6adc41745e66 WHIRLPOOL 34c6dff4708a91bb33135770a45311ebdc7f0f8ec5cb5fed03caecf0916c93ecc5720822663d85c0ff28e849df18fbabf93a18ee19f28d3ac4b05f83a2c1dcbd MISC metadata.xml 160 SHA256 fe06593409e7f28665c032001005e94cb650299711a0af7f1a558bdb56c4004f SHA512 2f1153c2abadf7a9f4133b1f9a379c67c6a2f24b4e226dc213f36ddd2f8d4fabcc893c094a586f8b53f7b652f4428a689eaf27899db6858767f7cdb984da17ef WHIRLPOOL a901e6830477c343d0f31f7aa0d46e867c4debc40e4db2c41df4a9b3c44a5879729a298f66b813836a47641d569738a5be5547e6d38bea11eb6a9f545db707ab -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQJ8BAEBCABmBQJRMobwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzNTVDNDczOUYzRjJEMTRGNDRGMzU2RkMw -OUJGNEY1NEMyQkE3RjNDAAoJEAm/T1TCun88U7AP+gNkOcQeuYW/SRdTtU5OhSXm -sHjfeJgQDb8lOhbjF08PWn8e7kBziipp9I5AINGoGn8gkhk33BY6wASBnYJz6cJ5 -WEkXD8yofyqxQoqjzXa4qollytUI/KqXa6Y+DLbzugbQliOK1leO1VJ9sNp2pvug -N9rTJZpbIbogqDGNfa1jHZalrUdO61YA883FsaqiMFORdJyaxrKRlPImJyQFwUlc -MJWFh/8Bt07FxEK8SHeZbl26vjlRVMS6Q6b3tkfcCrsCpPCBPvG/DavQ+D/sZfrZ -3NZPCkF9w1LUd+BV1Cp0v7v9vQUpN2R9O66f9spuPJT7cbSp2mAmONkbrigfpCbG -D5aCIlzQwTiLeX5134InPiKSlmxjFKsd6nlNH9Pg7AMbtGa2yW3XeJMjBBnwmxG1 -VrIxjICMhke8MHdd1eiB6q3jRZmbyVy7uHqRc2yFuGw/RVOiet/mrbeT3kCD96l3 -SQjIQ7+hQ8xDRwpfMFti5B50pM1JHEZJA3I3mvRQqV3tRlxj7AryFwg2TlzzIdKw -IpYdPz6kopGwTYed+4rWyH2nBvn3jyRsb+NsWx6LVfMHHYYYyGGUJw7GQLJKW7GU -ie0A5uUrN446ih7XSZYM15+FEgSUy3Vo1YOXzNpINX+1tSe7UX9XYEnh0iNxAIX4 -RXCvaJk8Zl5Aowhau+Hk -=axLK +iQIcBAEBCAAGBQJRM1SYAAoJEF0huFKJUZL5RJgP/RwKjHxXqjzhtKc9GoL5wisS +HASe9jglOOFVtYIyA0Rrc1amTcbiA3z+clKjh8zHyhTHHxirYDvDv8a86JnAOS8o +3W1hS/VVA+FcbHrBYmd3iGglaknS0zuKrzyzRsJXfvwOSewD4E2e6BodooxgEuF8 +2VL6AF6nPHCvgUGJ7J1KGohirUniS8PEWQbnHlqmdyXScRG+y+BBex2nxjEqbFr8 +u7/y8DCLcn7MsELIyQA9WNlA7WxgQ2r/D51M5R1V5lysvZ8ohdt9qLTzT+WtLt7g +u72L43YM+m10yJgX29OwYUr3xVzZtmnW+SAmOXuWM1qARdqJO/vLUBMO5Ar0YiWD +4RMaD3Fh+9p09pyOEvhuUQbl5v9l9STgVdVALU4+yz9yyqxg4pmIiE2XTUySL3aP +ly+HZJa8POcwFTs2WhKroCUzhMREsCZpkVCzsycIj18w58+7p+Ar4YGYmWtF94wE +KXru4gr22mAhb8PV87a3ZwuJWVJI8qrQYU1aoWFrMPf4SrbphXxLZuNLmKUpIV4Y +ODlCNuJWPD9LRWtWPB+O4yNXTvEL/fgYMjgDy42bGcWBskB7Yr6jBTwhQN3xSRkM +wOQR1sMjGU+SVbBWkq1efkcoVAbUhK6R4+cfMZRrd0b8dCh91ewan3QRG5ryghcq +CoeTZcIvhD85j38iagLW +=R1W4 -----END PGP SIGNATURE----- diff --git a/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch b/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch new file mode 100644 index 000000000000..29ecfe63fb79 --- /dev/null +++ b/net-p2p/valknut/files/valknut-0.4.9-gcc47.patch @@ -0,0 +1,15 @@ +Fix building with gcc-47 + +https://bugs.gentoo.org/show_bug.cgi?id=423045 + +Patch written by Kacper Kowalik +--- a/valknut/main.cpp ++++ b/valknut/main.cpp +@@ -22,6 +22,7 @@ + #endif + + #include ++#include /* _exit */ + #ifndef WIN32 + #include + #endif diff --git a/net-p2p/valknut/valknut-0.4.9.ebuild b/net-p2p/valknut/valknut-0.4.9.ebuild index 0cc4a96ec92f..0414d1c3a2ac 100644 --- a/net-p2p/valknut/valknut-0.4.9.ebuild +++ b/net-p2p/valknut/valknut-0.4.9.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/valknut/valknut-0.4.9.ebuild,v 1.9 2013/03/02 23:10:42 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/valknut/valknut-0.4.9.ebuild,v 1.10 2013/03/03 13:48:03 xarthisius Exp $ EAPI=2 +inherit eutils + DESCRIPTION="A open source cross platform client for the Direct Connect network" HOMEPAGE="http://sourceforge.net/projects/wxdcgui/" SRC_URI="mirror://sourceforge/wxdcgui/${P}.tar.bz2 @@ -20,6 +22,10 @@ RDEPEND="dev-qt/qtgui:4[qt3support] DEPEND="${RDEPEND} virtual/pkgconfig" +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc47.patch +} + src_configure() { econf \ --disable-dependency-tracking -- cgit v1.2.3-65-gdbad