From: | "Sebastian Pipping (sping)" <sping@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-gfx/drqueue/files: drqueue-0.64.4-git.patch drqueue-0.64.4-fpic.patch |
Date: | Mon, 29 Oct 2012 16:18:50 |
Message-Id: | 20121029161841.0A1AB21600@flycatcher.gentoo.org |
1 | sping 12/10/29 16:18:40 |
2 | |
3 | Added: drqueue-0.64.4-git.patch drqueue-0.64.4-fpic.patch |
4 | Log: |
5 | media-gfx/drqueue: 0.64.4 |
6 | |
7 | (Portage version: 2.1.10.65/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-gfx/drqueue/files/drqueue-0.64.4-git.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.4-git.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.4-git.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: drqueue-0.64.4-git.patch |
16 | =================================================================== |
17 | --- DrQueue-0.64.4/SConstruct 2012-10-29 16:40:29.396747920 +0100 |
18 | +++ DrQueue-0.64.4/SConstruct 2012-10-29 16:49:00.676356045 +0100 |
19 | @@ -79,8 +79,12 @@ |
20 | print("Not a Git repository. Can't fetch commit id.") |
21 | commit_string = "" |
22 | else: |
23 | - commit_string = gitlog.communicate()[0].split("\n")[0].split(" ")[1] |
24 | - print("Current Git commit id is: "+commit_string) |
25 | + output = gitlog.communicate()[0] |
26 | + if output: |
27 | + commit_string = output.split("\n")[0].split(" ")[1] |
28 | + print("Current Git commit id is: "+commit_string) |
29 | + else: |
30 | + commit_string = "" |
31 | return commit_string |
32 | |
33 | def write_git_rev(commit_id): |
34 | |
35 | |
36 | |
37 | 1.1 media-gfx/drqueue/files/drqueue-0.64.4-fpic.patch |
38 | |
39 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.4-fpic.patch?rev=1.1&view=markup |
40 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/drqueue/files/drqueue-0.64.4-fpic.patch?rev=1.1&content-type=text/plain |
41 | |
42 | Index: drqueue-0.64.4-fpic.patch |
43 | =================================================================== |
44 | --- DrQueue-0.64.4/SConstruct 2012-10-29 17:11:02.462831439 +0100 |
45 | +++ DrQueue-0.64.4/SConstruct 2012-10-29 17:11:08.746752880 +0100 |
46 | @@ -141,7 +141,7 @@ |
47 | |
48 | print "Platform is: ",sys.platform |
49 | if sys.platform == "linux2": |
50 | - env_lib.Append (CPPDEFINES = Split ('-D__LINUX')) |
51 | + env_lib.Append (CPPDEFINES = Split ('-D__LINUX'),CFLAGS = Split ('-fPIC')) |
52 | elif sys.platform == "darwin": |
53 | env_lib.Append (CPPDEFINES = Split ('-D__OSX')) |
54 | if env_lib.get('universal_binary'): |