From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/libmediainfo/files: libmediainfo-0.7.41-curl.patch |
Date: | Sun, 30 Jan 2011 22:52:31 |
Message-Id: | 20110130225222.5F46A20054@flycatcher.gentoo.org |
1 | radhermit 11/01/30 22:52:22 |
2 | |
3 | Added: libmediainfo-0.7.41-curl.patch |
4 | Log: |
5 | Version bump and remove old. Bump to EAPI 3 and fix configure flag usage. |
6 | |
7 | (Portage version: 2.2.0_alpha19/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-libs/libmediainfo/files/libmediainfo-0.7.41-curl.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmediainfo/files/libmediainfo-0.7.41-curl.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmediainfo/files/libmediainfo-0.7.41-curl.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: libmediainfo-0.7.41-curl.patch |
16 | =================================================================== |
17 | --- MediaInfoLib/Source/MediaInfo/Reader/Reader_libcurl.cpp.orig |
18 | +++ MediaInfoLib/Source/MediaInfo/Reader/Reader_libcurl.cpp |
19 | @@ -35,7 +35,7 @@ |
20 | //--------------------------------------------------------------------------- |
21 | |
22 | //--------------------------------------------------------------------------- |
23 | -#define LIBCURL_DLL_RUNTIME |
24 | +//#define LIBCURL_DLL_RUNTIME |
25 | #include "MediaInfo/Reader/Reader_libcurl.h" |
26 | #include "MediaInfo/File__Analyze.h" |
27 | #if defined LIBCURL_DLL_RUNTIME |
28 | @@ -182,8 +182,10 @@ |
29 | //--------------------------------------------------------------------------- |
30 | size_t Reader_libcurl::Format_Test(MediaInfo_Internal* MI, const String &File_Name) |
31 | { |
32 | - if (libcurl_Module_Count==0) |
33 | - return 0; //No libcurl library |
34 | + #if defined LIBCURL_DLL_RUNTIME |
35 | + if (libcurl_Module_Count==0) |
36 | + return 0; //No libcurl library |
37 | + #endif |
38 | |
39 | //Configuring |
40 | curl_data Curl_Data; |