wok-6.x diff liblrdf/stuff/md5.patch @ rev 23831
syslinux/iso2exe: fix loram case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 31 14:59:28 2020 +0000 (2020-05-31) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/liblrdf/stuff/md5.patch Sun May 31 14:59:28 2020 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +--- liblrdf-0.4.0.orig/src/lrdf_md5.h 1.5 ++++ liblrdf-0.4.0/src/lrdf_md5.h 1.6 +@@ -32,6 +32,15 @@ 1.7 + #ifndef __MD5_H__ 1.8 + #define __MD5_H__ 1.9 + 1.10 ++/* Change function names to prevent symbol conflicts */ 1.11 ++#define md5_init _lrdf_md5_init 1.12 ++#define md5_buffer _lrdf_md5_buffer 1.13 ++#define md5_sig_from_string _lrdf_md5_sig_from_string 1.14 ++#define md5_finish _lrdf_md5_finish 1.15 ++#define md5_process _lrdf_md5_process 1.16 ++#define md5_sig_to_string _lrdf_md5_sig_to_string 1.17 ++#define md5_get_result _lrdf_md5_get_result 1.18 ++ 1.19 + /* 1.20 + * Size of a standard MD5 signature in bytes. This definition is for 1.21 + * external programs only. The MD5 routines themselves reference the