1 |
sping 10/06/26 01:41:01 |
2 |
|
3 |
Added: shm-1.2.2-compiler.patch |
4 |
Log: |
5 |
dev-python/shm: Fix setup.py to respect CC variable (bug #243966) |
6 |
(Portage version: 2.2_rc62/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/shm/files/shm-1.2.2-compiler.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shm/files/shm-1.2.2-compiler.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/shm/files/shm-1.2.2-compiler.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: shm-1.2.2-compiler.patch |
15 |
=================================================================== |
16 |
--- setup.py 2010-06-26 03:29:30.000000000 +0200 |
17 |
+++ setup.py 2010-06-26 03:30:10.000000000 +0200 |
18 |
@@ -84,7 +84,7 @@ |
19 |
filename = "%d.c" % i |
20 |
file(path + filename, "w").write(src % ('_' * i)) |
21 |
|
22 |
- cmd = ["cc", "-c", "-o", "/dev/null", "%s" % path + filename] |
23 |
+ cmd = [os.environ.get("CC", "cc"), "-c", "-o", "/dev/null", "%s" % path + filename] |
24 |
|
25 |
po = popen2.Popen4(cmd) |
26 |
if not po.wait(): underscores[i] = True |