Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: [gentoo-dev] RFC: toolchain-funcs.eclass patch to fix bug 432390
Date: Thu, 27 Sep 2012 17:57:05
Message-Id: 50649317.5050704@gentoo.org
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 Hey all -- it's been a month since 432390 was filed; and this bug is
5 keeping lirc-0.9.0-r2 from going stable. If nobody objects within the
6 next 24h or so, I'm going to apply the following patch to
7 toolchain-funcs.eclass to fix the bug.
8
9 The patch does not revert existing behaviour and only allows the
10 function to work properly (or fail gracefully) when used outside of
11 kernel-2.eclass.
12
13 The patch changes tc-ninja_magic_to_arch() as follows:
14
15 1 - changes the use of $KV to the local $kv in all checks
16
17 2 - assigns kv=${KV:-$KV_FULL}
18 (so that if called from kernel-2.eclass it will work as-is, but if
19 not then it will use the value of KV_FULL from linux-info, the way its
20 supposed to)
21
22 3 - dies, instead of returning an invalid value, when no kernel
23 version is available.
24
25
26
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v2.0.19 (GNU/Linux)
29
30 iF4EAREIAAYFAlBkkxcACgkQ2ugaI38ACPDAzwD+KJCvblZlCjw3ELum8JK1zg0c
31 ZDCGuRb7bbpFuCjfKK8BALMBDyDamB7zvrgu1vOi3LuEPHLTY2yB8YColruW9Q4v
32 =Husj
33 -----END PGP SIGNATURE-----

Attachments

File name MIME type
toolchain-funcs-fix.patch text/x-patch
toolchain-funcs-fix.patch.sig application/pgp-signature

Replies