summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-01-03 19:04:44 +0000
committerTim Harder <radhermit@gentoo.org>2013-01-03 19:04:44 +0000
commit09f6e4feed8bf3029fd086da438ec604a76c9f0a (patch)
tree093765848aaed8135890714cdbcfbf99b4cf44f1 /dev-embedded
parentCleanup autogen is required only for build, libtool is not required if we inh... (diff)
downloadhistorical-09f6e4feed8bf3029fd086da438ec604a76c9f0a.tar.gz
historical-09f6e4feed8bf3029fd086da438ec604a76c9f0a.tar.bz2
historical-09f6e4feed8bf3029fd086da438ec604a76c9f0a.zip
Fix build with glibc-2.17 (bug #449284).
Package-Manager: portage-2.2.0_alpha149/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/mspdebug/ChangeLog8
-rw-r--r--dev-embedded/mspdebug/Manifest19
-rw-r--r--dev-embedded/mspdebug/files/mspdebug-0.21-glibc-2.17.patch11
-rw-r--r--dev-embedded/mspdebug/mspdebug-0.21.ebuild11
4 files changed, 33 insertions, 16 deletions
diff --git a/dev-embedded/mspdebug/ChangeLog b/dev-embedded/mspdebug/ChangeLog
index b187d7227d0c..b3abc88dc0e8 100644
--- a/dev-embedded/mspdebug/ChangeLog
+++ b/dev-embedded/mspdebug/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-embedded/mspdebug
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/ChangeLog,v 1.13 2012/12/23 08:18:44 radhermit Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/ChangeLog,v 1.14 2013/01/03 19:04:39 radhermit Exp $
+
+ 03 Jan 2013; Tim Harder <radhermit@gentoo.org> mspdebug-0.21.ebuild,
+ +files/mspdebug-0.21-glibc-2.17.patch:
+ Fix build with glibc-2.17 (bug #449284).
23 Dec 2012; Tim Harder <radhermit@gentoo.org> mspdebug-0.20.ebuild,
mspdebug-0.21.ebuild:
diff --git a/dev-embedded/mspdebug/Manifest b/dev-embedded/mspdebug/Manifest
index 7b65b1d00055..1f41db2af04c 100644
--- a/dev-embedded/mspdebug/Manifest
+++ b/dev-embedded/mspdebug/Manifest
@@ -1,20 +1,21 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX mspdebug-0.21-glibc-2.17.patch 232 SHA256 da9c7b30a0cd1827ca13fc9f58c8bdfd0c817c4284adb38c9d7a8cca9be163ac SHA512 ee214e9c8063d5a79e10822cf2f400df8c9f12dff6dab3011b33af2aab194a6e58aaff4586b650bc866ec9304e98f76c2bac7e7313ade92b1a44bf8e8962004e WHIRLPOOL e9a2f28cb8be1b999ea36c7ee6282556d408bf5e16e7624f127e70fbc0e53bb399bd088fcdb5ca762288b41b9e0ac6e678d653c387e471eac58a0742369e06df
DIST mspdebug-0.20.tar.gz 182144 SHA256 4514305994ad8962d5568652f74d6c26357f192583d8840fbf2f3c62dd3bff04 SHA512 64ec9e8abede54ae92a9073971efeb4beeeb419bf1cbda998cc1327820838f7f452381712638e7f03ae71ec62e3459929a0d52a868f2732e4e9c529f8662e996 WHIRLPOOL 5616d0992278bd90eca78e605239b5f090809307f3acd9f94946795ab06c3363798c3d94d82fc983959c2ece1c2b1f0c6ffeb2678468a62617dff98bad1b57df
DIST mspdebug-0.21.tar.gz 228413 SHA256 37c0c83851e1ff7048012c733e21cd2fe5bef21f67814a462c6a7049dc709988 SHA512 ac12d7a22c905db0d192e52c43bfd5ee13ee47aa99ef7fd3ec4f8b53c231e43ad6437a41655603cd407ac766189009aeee6fafe842ac34fddd0b06408c08e761 WHIRLPOOL 84f274d44f25fffb6aa4e856aded3a943b1359bc51fa9d77de7aa916fedb18e759c734154b2a7c4439703866e97ba7958554c83e310f49aa562265c6e1c22132
EBUILD mspdebug-0.20.ebuild 830 SHA256 393f50a1c2a3e6b27795a11d417e0bf1e3fb5e68c0eca14b58187a1e6d95b160 SHA512 f30552f132f48e439ef59fbdbb680b06aee35eb4ad8bacc8bdaefd18fba55621e0568fa3d0201c24b23b8797e56510fface0917f50efde292c9460de05d44ef3 WHIRLPOOL e52f1f5f984c4148e777e1efb61443c26ed49fff85c8aecd25e6281f7f7ab13d9f9961e54acc74ce938888181cbcc5102e7f348aa915addb10bf215ef099d0f2
-EBUILD mspdebug-0.21.ebuild 800 SHA256 62285c07ff891e7bcab01ff859bfdc045c646dc21398eb2020bcbd4597a5c856 SHA512 12dafff2b578123005f4884bc056f8e1228ecf2cf7c6541e596ddfd76560c0b2306f9a24afe961d03a105ff79958eab89df7570c05ad79c57ee3ecc97259117d WHIRLPOOL 1399de4d80c0a25f3079bd4b017bf62ecce7f2a492892d328e4ae195eb17dd01c418e0f4e4e189ef0175fae54093255d3f37c516ceead612c9934c21f0b8d519
-MISC ChangeLog 1838 SHA256 5940dbbc26b61bcd3181e0ec917db628679c2cd028097cd38e5e32b44953cff4 SHA512 6bb227962ee8d94aa6f52e73e518dd6777b3cdd96cfd75a34647a88e68f4269acc29fa0469f1c23a78122a1d2d725cf9f7dab1d35b60b83ca741aa2a85568ff8 WHIRLPOOL 20570c9239121a00a927449915e1c6740590a45e1aa6caf580ae4d850cfeaa2616f526b5769426af16c3dd2e8ad5154f00590f6e6d42cbf1191da06e9bb1d73d
+EBUILD mspdebug-0.21.ebuild 883 SHA256 a3c1777e3dc787b96c3d58d6d6ab57287e95af9043fe8e5b305ac0500b0c2af6 SHA512 ef1f0007e306b49561c78ac550e83eeb373b1958f6c7ad40e937cb0686f14717c7a5e94b32a653b6323c643a3cb47ffa638f69cb24564fda607b0e59ef7f27d4 WHIRLPOOL 6c806be3cf69ecf96a3bc94483c7cf8165562e3fb8f5559a4c7aa737bf30c971c14ef379bfaf8725714f55d22c6c4505b5d9f6f07501151f2447c09e69e309e8
+MISC ChangeLog 1994 SHA256 f272930c661f5e3215e95d3b7603699cb2b821f72b14ce85dd08e0c5685d5f0e SHA512 5c76f961afb46503baf037835516aeefebd5e1c89a669b11c0b874650ee3da6ee304e9f6783940846f21188f4c86de2b24178a3fd85f7ce06e6e53e721c21d36 WHIRLPOOL f4af9ff83490f792b7a8062ceca71d4548fa4b7c4ee20250cb2f5caf4358af1ab5bf73a630ff717774357d1669b97c08a69d387fe2ef25a02a5a0dc939538dbc
MISC metadata.xml 568 SHA256 db71680923ca055f32ea1559dca6d08e752c68137100760ac09a1aa0c4611043 SHA512 a01fa09c67e2b52b6a79de2005eb142efcefc9d8eb93ebded9a5fefd31b7f4a766fc40253bf534396d81eae0565faf043032cc66bfb9ebd0fb7f0586bf7c2118 WHIRLPOOL 374a6723731a3ecb164762c7fb4b5deeae3db6bfe8157ec9804759d6769d0059a4b60fbb3f4f4480a887d5e96fcd7e9af93a15bafe58cb32b11c5b1f4ec3e4cc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQEcBAEBCAAGBQJQ1r5sAAoJEEqz6FtPBkyjy5cH/2Lm9b7JU5MChgCpSgItNdHU
-tE2Y2bZ9xU4u+GZrklM7GhN2+RThkrQ6njhuKpA4o9FAt/W9yKFj5B8MQ4NTTidg
-2CjnRDmMUU+YiEC71sskO9F1nQ2uxJ2xpGHaiTDOlJkOuVzVlHRcmZT2M83xfJzR
-GrUAYSLaPvfjVFcmEhApOyco6c7HP0Tv6Z1cpHOBBVqyUrMsSqsuMFKPLXNcQV1B
-8Tegjp1bon0iDV0M+nqtuv7PdU7pjLlafr31uj+8ceeEdLe/7HzJAtPwkEBOfXsf
-qRutYFrNEgx6B916OxTxSFOP4QhTqHwdXGSnRjKY9N0iyZuKDbC/0/xyA8VYeoE=
-=DFAl
+iQEcBAEBCAAGBQJQ5dZLAAoJEEqz6FtPBkyjWYcH/iG2w4Qv1DuFxnMgmFqNymYR
+t6Wx1XHJ3lHHqX0MUpIxN9iFHZBt7HduGTBa7LsyL+tbOoLMSxh9xA0KuLn5IpEI
+ySQftSbyYXKXU2J43C9OgZuchxfZJg3AQzlWNTDagJFUX9U/VZYKFduWGTq5U4ig
+RECO3kR8PqJ9Aci6Hi8CETYH8pKdO2BgKZOsMQMIp6XEs4KX7cSKcgKyPo/NfWUk
+D9aDjkAm7LtP20MmZ85l8k3SUehA464seVgW2aq1II/WjGHhtpNse24d1nYbYq15
+VW28d3mWI/m7RqV3bouQdCypVH7TLpbsNw6LqN5VElmYE4kY2jqO4UDTZhW15Rk=
+=EoU5
-----END PGP SIGNATURE-----
diff --git a/dev-embedded/mspdebug/files/mspdebug-0.21-glibc-2.17.patch b/dev-embedded/mspdebug/files/mspdebug-0.21-glibc-2.17.patch
new file mode 100644
index 000000000000..e4895d4d066a
--- /dev/null
+++ b/dev-embedded/mspdebug/files/mspdebug-0.21-glibc-2.17.patch
@@ -0,0 +1,11 @@
+--- mspdebug-0.21/util/sport.c.orig
++++ mspdebug-0.21/util/sport.c
+@@ -20,6 +20,8 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <string.h>
++#include <time.h>
++#include <sys/select.h>
+
+ #include "sport.h"
+ #include "util.h"
diff --git a/dev-embedded/mspdebug/mspdebug-0.21.ebuild b/dev-embedded/mspdebug/mspdebug-0.21.ebuild
index de6872a42b53..cf8624cdf9c7 100644
--- a/dev-embedded/mspdebug/mspdebug-0.21.ebuild
+++ b/dev-embedded/mspdebug/mspdebug-0.21.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/mspdebug-0.21.ebuild,v 1.2 2012/12/23 08:18:44 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/mspdebug/mspdebug-0.21.ebuild,v 1.3 2013/01/03 19:04:39 radhermit Exp $
EAPI=5
-inherit toolchain-funcs
+inherit toolchain-funcs eutils
DESCRIPTION="A free debugger for use with MSP430 MCUs"
HOMEPAGE="http://mspdebug.sourceforge.net/"
@@ -21,13 +21,14 @@ RDEPEND="${DEPEND}"
src_prepare() {
sed -i "s:-O1 \(.*\) -ggdb:\1:" Makefile || die
+ epatch "${FILESDIR}"/${P}-glibc-2.17.patch
}
src_compile() {
- emake CC="$(tc-getCC)" $(usex readline "" "WITHOUT_READLINE=1")
+ emake CC="$(tc-getCC)" LIBDIR=/usr/lib $(usex readline "" "WITHOUT_READLINE=1")
}
src_install() {
- emake DESTDIR="${ED}" PREFIX=/usr install
+ emake DESTDIR="${ED}" LIBDIR=/usr/lib PREFIX=/usr install
dodoc AUTHORS ChangeLog README
}