From 1421c827d13c831db80dc6cd1034b75918c9f60e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 Aug 2014 03:59:51 +0000 Subject: Link with -lm when needed #519552 by René Rhéaume. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xD2E96200 --- sys-process/acct/ChangeLog | 8 +++++-- sys-process/acct/Manifest | 35 ++++++++++++++-------------- sys-process/acct/acct-6.6.1.ebuild | 14 +++++++---- sys-process/acct/files/acct-6.6.1-math.patch | 27 +++++++++++++++++++++ 4 files changed, 60 insertions(+), 24 deletions(-) create mode 100644 sys-process/acct/files/acct-6.6.1-math.patch (limited to 'sys-process/acct') diff --git a/sys-process/acct/ChangeLog b/sys-process/acct/ChangeLog index 15604be77bc1..f3dbb5e4c346 100644 --- a/sys-process/acct/ChangeLog +++ b/sys-process/acct/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-process/acct -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.73 2013/12/21 17:22:15 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/ChangeLog,v 1.74 2014/08/13 03:59:48 vapier Exp $ + + 13 Aug 2014; Mike Frysinger +files/acct-6.6.1-math.patch, + acct-6.6.1.ebuild: + Link with -lm when needed #519552 by René Rhéaume. 21 Dec 2013; Agostino Sarubbo acct-6.5.5-r3.ebuild: Stable for ppc, wrt bug #485338 diff --git a/sys-process/acct/Manifest b/sys-process/acct/Manifest index bb70247951ff..c69b031400b6 100644 --- a/sys-process/acct/Manifest +++ b/sys-process/acct/Manifest @@ -1,9 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX acct-6.5.5-cross-compile.patch 8335 SHA256 368cd7d9598c1c63a082b8aa40989b4701fc04b97ccea136ebcc66ab8b0f0e83 SHA512 c30d71f7ef83ec1aea66bebe40eafcce55047b34f26e929ae1a93279c2371a69fca0934eaf3e1e915e451b2ec2d9ab97eab94d1dfe28e18532747d1815030e91 WHIRLPOOL 0e14c899a7d13f2b23e12229f7ef97280d6e9ce52848045bd00558d2738e4f271f6536bbab675ebee0dfa742d540ac86591d7906d3d3e2e3d1a1c0ed7b5d1b2e AUX acct-6.5.5-no-gets.patch 779 SHA256 0aa8aac492b2a380c9661362d3731c9827516052c008881182b01b3ca302eece SHA512 adefec843a1339ff1f14c71b2164f1fc77d5f17f053a6da45dfe74851891e89b4a90dda8ef8405b277c9e5f08c18eb6767aae6cc069566526127cd93eba3fd4e WHIRLPOOL 3d7a15bdaaed005c97d9934f09e94594e0e796bb3b4736502e6a77401c8423949d8c1d2caf5e594f2d0c6299d3b032a4c1b025710cb064cf37216707c30d5850 AUX acct-6.6.1-cross-compile.patch 8526 SHA256 0cccd5f1e284c3d5690cb3c0a7865d0ab9a24d46ffc5672ef0147d37132424a8 SHA512 b32ea89c0b57e00aaeab7e37896cd26b569433cdb884abd7d5f20e24d7a5fe1044d548d09a7987f83c900b553fb6c60dbeb0f7bde319e487b67d99de6bc4023d WHIRLPOOL ada52269d01cecb667622f260c0ea2d13ab07757bd1bb9074de6723fced47fb3ade4eae35d274808cef780562be7b4c554c5de5b4e5de6cd4054686ceacb1194 +AUX acct-6.6.1-math.patch 805 SHA256 3aa45c415179a381fc60f48b231b9a3089705265ff7247bf82e21a8676f328b8 SHA512 3eeafe7801cc911a1915dde0b682ce6fab50af7177dc766b1ad1add2cfa52826f00b44b5ae6d062dfb302704da9c9c39bec3535116771bbbfff14e3725bb087a WHIRLPOOL b45eaf15d507bda2a8556b9b5f04e475e08b3a5f7d1eef94036b5c05bee652b010e7f1017c1f50bb95ecb850755780db88b42e0e623dfa840bba96b54e5a83fa AUX acct-6.6.1-no-gets.patch 516 SHA256 b8984f964e89dbdc266a319c5514224137a81b92a1b28d795883d4e6be39e629 SHA512 f3b612e4f67eb77d993559bdc8522e74a80d70ff110cc67dabe12280ecf2bcedfa449359cc9de432fd979c9e38457393809fad666f0ab32ede93dc47983a77ac WHIRLPOOL 71d04cb35646479448aa7697777df6e15a1a0882511d7b5de0bc2ca98e6d0829e5b9a639d78295083065eefe06a1cbf2bf1bb760d2e517ca760ce12946a0c944 AUX acct-6.6.1-texi-failure.patch 1122 SHA256 2f6d044706014d9571ed0de4b1a10c48164a0f2e1280b85beba0c11a3b7d322f SHA512 de33f73389220b440f484c96ec9ec323a640e420d4659bc09dd8b79da366a11d29631abec2be40f0a8d2b4579435b44a54f8f7f61eff8f785c1c28491213d8e3 WHIRLPOOL 574f0409ce70fab4d83dfde69b33d6255778a872e0613461918b97dd90c68f5830d8201c44b6d25e6322825e98f306369b14be6fa574a672c57e02ac13ed9c26 AUX acct.confd 389 SHA256 03dec915e2f80746a5147f3a6ff34a5ce8d3dc4b0007a318a29c5f9ca91cdb31 SHA512 1d193d675f38ce8360251939ff0fdf89c1ba04244b2f2ee19a4180f180aa464447027dcd532cc044e9da7651c050c42e8bfe6ee350d29be3510395e44790c150 WHIRLPOOL 6298c8a8a8a64774d6fd5543e397c0b1e1f86dc20d440d34a9c6bc23cfd9ab55e59e569a75d2425c4b76d1cf5b407438a00e86057d19a317e4af150ec9617013 @@ -15,23 +16,23 @@ DIST acct-6.6.1.tar.gz 2869677 SHA256 554515611ef9299012b7510050868a48fc178ce154 EBUILD acct-6.5.5-r1.ebuild 1025 SHA256 a0a9fd9d6584a97d7ab86885f41eee84b1d929c869d372748ea98b49d8b6c839 SHA512 8b36714d3aa4e340fe4a9d3929a4ddb3bec0595c559faee97e19ad467f0371e78a1a538ef39a2eaff8105b85457c8f586fabc3a5fbb5459b6e2df402ade00754 WHIRLPOOL 1c993f25eca7350a62656ef222c5823fbadc1fa9d936272de96137f848c07811cb72e255da611d2846ae285320eac5fb624e14c94ab1caf35f446d13c3f64330 EBUILD acct-6.5.5-r2.ebuild 1232 SHA256 21d07cf36787ef360abe8d236130425228f17381a9c48a3aeb56adcf592d0806 SHA512 9ab7d19dfd4be42bcc887149f9262fbbf1955b2449ad4176a1fc73d750cf3a0503b61b97f10bc04150de17492cf167695e3d2f645ea4742bc8f3c7af42dc30a3 WHIRLPOOL ea2701d5f61e8dd0ef31d4f9b5fdf2533258ee743caa65a529155f08f318fab3396296131dbaddb78cca7238e3c2eaa5eca8facc81ccc03de4465c05c9c9cf9a EBUILD acct-6.5.5-r3.ebuild 1276 SHA256 ef3bc17f77e2a20c82f04c754e463f64c5d986c72d286df29ea63da0425617ef SHA512 730971139d70661bfa92857ae061734a49fa0556478d80dccbf3a1d0d6d118006f3819bbde82eef3692e69c1a3cfbb401e430bdac6bc8b9d9932f5946babcd9a WHIRLPOOL 403901504bad0a337cefa778ad97de8da72fce9dd13b3f4e80293fc20780a4ac8504e4b9847e57a2b74d5303a30f00ec0401ec6c6923dc48ec05f1c0ebe8a7ed -EBUILD acct-6.6.1.ebuild 1297 SHA256 caf356c4907230cefdccbe7357ffc0b90da4c9c5cebaf7a5e59cddbb2b06692a SHA512 a503a38bf197b581fb77d09facf410c8ed6f2252aa9797c42a82ddebb44f327b489c2c64e1d972360b772dd575d6baaff6b9afcd27d1c27299b3c5cd668901a0 WHIRLPOOL 5988040e8bf52dcc5254269f9f4621dffd0454b87a9ed91548142d377d8ced06d523bfed5ee4c84e63a2f23ad877f020944e7d0ec7c4eed24f8b77ef78ee0f17 -MISC ChangeLog 10508 SHA256 467a8f42e7302b60930aa1738dd1a9c60ffbad1532ea65bc4215d10d393511b8 SHA512 fde9bc85bc88c7a900eedd86b0ed6f25c190c94a29cc90594798deb9c65235ff1f71aebc08794f5909c48ae2eeefdf56655f74397088aa4a0b811b55554c98b4 WHIRLPOOL 0872941eda8cf8da650ec3233c511f8cf17a14469ada105338509efeb54aa8f47b7ded780317d4ac96bc1a1c5d67f49b3c3b1930b4aa40aa984a832b690d54f9 +EBUILD acct-6.6.1.ebuild 1324 SHA256 1f08a28ec24353a62934b502feab88338ff796047850a5dc328c9ed922573e5d SHA512 5c99bdd05093da6a4d93a1685598d08d9ccdad998348dfb8cf04e215bc7f41bc90dc8c19bec5818ca19b826245be4d56e91aa13ac8f152fe20ec60314cd249db WHIRLPOOL 68432678c89f59756682f296f199cffdc385ee359709b4f243a17b292ec0ba67b3fc6d6c59ba51c855a6bfa24b65f3a00c2de52b23f2144376613d49cdc46f1d +MISC ChangeLog 10668 SHA256 1433e8c33fed7a9f896c8ead8c1ece2c946fc5d6f5710757d91f49bd334c3db0 SHA512 8afbfa5e81ff0f0961389d9b52e0a3daa6cfe834d2a5970f3a1b584bd81dbefe4a5c233d0a9e05e37b0761715735d1a8639a037add77f32924c38aadcb349464 WHIRLPOOL a566a9f0594a000b99a0e6e4dcc935ede187e12c7081e90652670bbe8cbb14e45088102b95f18db4acd82b9c6dda2be43e014e7cc45ec5a4796157a6fa93a81d MISC metadata.xml 164 SHA256 f5f2891f2a4791cd31350bb2bb572131ad7235cd0eeb124c9912c187ac10ce92 SHA512 8eb0d5153d388f6ea069c64b93882244816a0a09aecc0d73cb872121ce0eb24c5ccafa96aad0b620b2300f319e1af101fa7fa6c5d0d561719d49bb07da0a2eca WHIRLPOOL 11a1441bddb7a6c69653c663902b7da5767ae6ad515ac2aabfc42fe37927a1ccc21472deeee454009ff720201a41c3e4a912df42661a0a87150fb46126da2d52 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) +Version: GnuPG v2 -iQIcBAEBCgAGBQJStc1WAAoJELp701BxlEWfVVoQAMJdMVbkd06ISVJWLRAbQQWM -V68uAVCR1PrNjgpkYsrr8YUzmb4xHV2uf0azPN5cIslGM7J6+v+HLb2Lhr5JWWIs -c+B30dXNNasVaBAKlbsyFmn9uQdi5ouqbGHNI+1eAC8TPILDc2pBhbxwQbJSqZ1s -FrQ1UE24a/mEBX2UBvY3AU9Xz9RCJwLvFg/LJVnm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P5nUDr7kE1v3s7G +1MgaJNpAHJ/q7W9bOkInaNT2/49HAi81VbBOo1TtuH7hOFKom7Rxq2OcCXoItkAX +Sgsp/VajCN6ssjuZ1QN2y0PUnLvmHB8DFNS7eGxipRQqZSBQMs7aXVnur/x84VwA +deFzN50N+xAOJDO1Mmjt +=Vm3L -----END PGP SIGNATURE----- diff --git a/sys-process/acct/acct-6.6.1.ebuild b/sys-process/acct/acct-6.6.1.ebuild index 0419c6096227..f70b57d9f63e 100644 --- a/sys-process/acct/acct-6.6.1.ebuild +++ b/sys-process/acct/acct-6.6.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/acct-6.6.1.ebuild,v 1.1 2013/10/10 19:18:37 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/acct/acct-6.6.1.ebuild,v 1.2 2014/08/13 03:59:48 vapier Exp $ EAPI=5 inherit autotools base systemd @@ -13,9 +13,13 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="" -PATCHES=( "${FILESDIR}/${P}-cross-compile.patch" - "${FILESDIR}/${P}-no-gets.patch" - "${FILESDIR}/${P}-texi-failure.patch" ) + +PATCHES=( + "${FILESDIR}"/${P}-cross-compile.patch + "${FILESDIR}"/${P}-no-gets.patch + "${FILESDIR}"/${P}-texi-failure.patch + "${FILESDIR}"/${P}-math.patch +) src_prepare() { base_src_prepare diff --git a/sys-process/acct/files/acct-6.6.1-math.patch b/sys-process/acct/files/acct-6.6.1-math.patch new file mode 100644 index 000000000000..5f69a51aa672 --- /dev/null +++ b/sys-process/acct/files/acct-6.6.1-math.patch @@ -0,0 +1,27 @@ +https://savannah.gnu.org/bugs/?42973 +https://bugs.gentoo.org/519552 + +these files use frexp/ldexp which is in -lm + +--- a/Makefile.am ++++ b/Makefile.am +@@ -26,6 +26,7 @@ accton_SOURCES = accton.c common.c + + dump_acct_SOURCES = dump-acct.c common.c file_rd.c \ + pacct_rd.c ++dump_acct_LDADD = $(LDADD) -lm + + dump_utmp_SOURCES = dump-utmp.c common.c file_rd.c \ + utmp_rd.c +@@ -37,9 +38,11 @@ last_SOURCES = last.c common.c file_rd.c hashtab.c \ + + lastcomm_SOURCES = lastcomm.c common.c dev_hash.c file_rd.c \ + hashtab.c pacct_rd.c uid_hash.c ++sa_LDADD = $(LDADD) -lm + + sa_SOURCES = sa.c common.c file_rd.c hashtab.c \ + pacct_rd.c uid_hash.c ++sa_LDADD = $(LDADD) -lm + + noinst_HEADERS = common.h config.h dev_hash.h file_rd.h hashtab.h \ + pacct_rd.h uid_hash.h utmp_rd.h al_share.cpp linux-acct.h -- cgit v1.2.3-65-gdbad