From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-pda/gtkpod/files: gtkpod-2.1.1-libmp4v2_so_2.patch |
Date: | Wed, 21 Mar 2012 09:10:40 |
Message-Id: | 20120321091021.544B42004C@flycatcher.gentoo.org |
1 | ssuominen 12/03/21 09:10:21 |
2 | |
3 | Added: gtkpod-2.1.1-libmp4v2_so_2.patch |
4 | Log: |
5 | Fix dlopen() for libmp4v2.so.2 from media-libs/libmp4v2 >= 1.9.1_p479. |
6 | |
7 | (Portage version: 2.2.0_alpha92/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-pda/gtkpod/files/gtkpod-2.1.1-libmp4v2_so_2.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/gtkpod/files/gtkpod-2.1.1-libmp4v2_so_2.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/gtkpod/files/gtkpod-2.1.1-libmp4v2_so_2.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: gtkpod-2.1.1-libmp4v2_so_2.patch |
16 | =================================================================== |
17 | Fix loading of libmp4v2.so.2 from mp4v2-1.9.1_p497 |
18 | |
19 | --- plugins/filetype_mp4/mp4file.c |
20 | +++ plugins/filetype_mp4/mp4file.c |
21 | @@ -317,10 +317,10 @@ |
22 | /* mp4v2 initialization code */ |
23 | |
24 | void mp4_init() { |
25 | - mp4v2_handle = dlopen("libmp4v2.so.1", RTLD_LAZY); |
26 | + mp4v2_handle = dlopen("libmp4v2.so.2", RTLD_LAZY); |
27 | |
28 | if (!mp4v2_handle) { |
29 | - mp4v2_handle = dlopen("libmp4v2.so.0", RTLD_LAZY); |
30 | + mp4v2_handle = dlopen("libmp4v2.so.1", RTLD_LAZY); |
31 | |
32 | if (!mp4v2_handle) { |
33 | return; |