Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/liblrdf/files: liblrdf-0.4.0-rename_clashing_md5_symbols.patch
Date: Fri, 29 Jul 2011 17:03:47
Message-Id: 20110729170332.C22D920054@flycatcher.gentoo.org
1 ssuominen 11/07/29 17:03:32
2
3 Added: liblrdf-0.4.0-rename_clashing_md5_symbols.patch
4 Log:
5 Fix clashing MD5 symbols (reported at upstream sf.net project page)
6
7 (Portage version: 2.2.0_alpha47/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-libs/liblrdf/files/liblrdf-0.4.0-rename_clashing_md5_symbols.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/liblrdf/files/liblrdf-0.4.0-rename_clashing_md5_symbols.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/liblrdf/files/liblrdf-0.4.0-rename_clashing_md5_symbols.patch?rev=1.1&content-type=text/plain
14
15 Index: liblrdf-0.4.0-rename_clashing_md5_symbols.patch
16 ===================================================================
17 From Debian patchset of liblrdf0 package; also reported at sf.net lrdf project page
18
19 --- src/lrdf_md5.h
20 +++ src/lrdf_md5.h
21 @@ -32,6 +32,15 @@
22 #ifndef __MD5_H__
23 #define __MD5_H__
24
25 +/* Change function names to prevent symbol conflicts */
26 +#define md5_init _lrdf_md5_init
27 +#define md5_buffer _lrdf_md5_buffer
28 +#define md5_sig_from_string _lrdf_md5_sig_from_string
29 +#define md5_finish _lrdf_md5_finish
30 +#define md5_process _lrdf_md5_process
31 +#define md5_sig_to_string _lrdf_md5_sig_to_string
32 +#define md5_get_result _lrdf_md5_get_result
33 +
34 /*
35 * Size of a standard MD5 signature in bytes. This definition is for
36 * external programs only. The MD5 routines themselves reference the